What is best procedure to replace exiting asset in AEM 6.5.11 | Community
Skip to main content
Level 2
December 18, 2023
Solved

What is best procedure to replace exiting asset in AEM 6.5.11

  • December 18, 2023
  • 4 replies
  • 1112 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sudheer_Sundalam

@akashch2 ,

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

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/upload-asset-preserving-the-asset-metadata/td-p/602107

 

Hope this helps.

4 replies

Preetpal_Bindra
Community Advisor
Community Advisor
December 18, 2023

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

Sudheer_Sundalam
Community Advisor
Sudheer_SundalamCommunity AdvisorAccepted solution
Community Advisor
December 18, 2023

@akashch2 ,

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

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/upload-asset-preserving-the-asset-metadata/td-p/602107

 

Hope this helps.

aanchal-sikka
Community Advisor
Community Advisor
December 19, 2023

@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-export.html?lang=en#:~:text=Metadata%20Export&text=Let's%20take%20a%20look%20at,have%20an%20Export%20Metadata%20option

 

Aanchal Sikka
kautuk_sahni
Community Manager
Community Manager
January 2, 2024

@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