Skip to main content
New Participant
Jan 31, 2025 9:45 AM UTC
Solved

Replace asset, keep metadata

Does AEM allow replacement of an asset (image or pdf) whilst retaining metadata, title etc?

I have read that this should be possible via a 'replace' button when the asset is selected but I don't see this option. 

EstebanBustamante
EstebanBustamanteAccepted solution
New Participant
Feb 3, 2025 1:22 PM UTC

Hi @jamesbr23 

 

You will see the "replace" option when you upload an asset with the same name. 

 

Hope this helps

Esteban Bustamante

4 replies

Himanshu_Jain
New Participant
Feb 3, 2025 1:30 PM UTC

Hi @jamesbr23 ,

Use same filename while reuploading you will get replace option.

 

Thanks

Himanshu

Translate
Himanshu Jain
EstebanBustamante
EstebanBustamanteAccepted solution
New Participant
Feb 3, 2025 1:22 PM UTC

Hi @jamesbr23 

 

You will see the "replace" option when you upload an asset with the same name. 

 

Hope this helps

Translate
Esteban Bustamante
JamesBr23Author
New Participant
Feb 4, 2025 1:04 PM UTC

Thanks for the responses, but I cannot replicate this; indeed, if I upload a new image with same name as existing asset, I am offered the option of 'Replace', and this works. However, all that does is overwrite the original image AND metadata. Any metadata entered for the first upload is wiped when I replace the asset. Am I missing a step? Thank you.

Translate
kautuk_sahni
Employee
Feb 3, 2025 12:34 PM UTC

@estebanbustamante@tarunkumar@kapil_rajoria@himanshu_jain@raja_reddy@veena1@chinmayish@sh1ju@preetpal_bindra@rahulmohan Kindly take a moment to review this question and share your valuable insights. Your expertise would be greatly appreciated!

Translate
Kautuk Sahni