Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

What is best procedure to replace exiting asset in AEM 6.5.11

Avatar

Level 2

I want to replace the asset (jpeg,pdf,pptx doc ) extension, after replacing asset not want to lose metadata So what is the best way to do that.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@AkashCh2 ,

Please go through this discussion which was asked previously on community.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/upload-asset-preserving-th...

 

Hope this helps.

View solution in original post

4 Replies

Avatar

Community Advisor

Hello @AkashCh2 ,

I'm not sure if I understood the requirement that you are trying to solve. Could you please provide some background? Also, what are the files being replaced with? Could you explain with an example?

 

Also, what have you tried so far and would you like to share the results from your experimentation?

 

regards,

Preetpal

Avatar

Correct answer by
Community Advisor

@AkashCh2 ,

Please go through this discussion which was asked previously on community.

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/upload-asset-preserving-th...

 

Hope this helps.

Avatar

Community Advisor

@AkashCh2 

 

You would need to use the "Create Version" option if you want to retain metadata.

 

Else, if you want to get rid of old asset altogether, then:

  • export metadata
  • Upload new asset (with Replace)
  • Import metadata

 

Link to metadata export and import of Assets

https://experienceleague.adobe.com/docs/experience-manager-learn/assets/metadata/metadata-import-exp...

 


Aanchal Sikka

Avatar

Administrator

@AkashCh2 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.



Kautuk Sahni