Bulk edit metadata properties for an asset and bulk untag assets | Community
Skip to main content
New Participant
January 4, 2024
Solved

Bulk edit metadata properties for an asset and bulk untag assets

  • January 4, 2024
  • 2 replies
  • 1217 views

Hello Community,

 

I have a requirement to bulk remove custom metadata properties (single-valued) for assets including removal of custom tags for bulk assets in AEM 6.5

I know that there is no OOTB means to bulk remove the properties.

 

Can anyone suggest what is the next best approach to deal this?

 

Thank you for your support.

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 diksha_mishra

@smrithi_govind  Please try the following custom methods to achieve this request:

  1. Create groovy script - here you can find an example that in general will do what you need - you will of course have to adjust properties/metadata that you would like to remove - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-asset-metadata-delete/...
  2. You will be able to get similar results using on deploy scripts - https://adobe-consulting-services.github.io/acs-aem-commons/features/on-deploy-scripts/index.html
  3. An extension for ACS Commons Manage Control Process - here is detailed description what should be done to use it for bulk deletion of properties/metadata - https://kiransg.com/2021/12/10/bulk-add-update-and-delete-properties-in-aem-without-using-groovy-con...

Hope this helps. 

2 replies

prakashvb
New Participant
January 7, 2024

Hi smrithi_govind You can also use OOTB feature, you can export metadata then do necessary changes in CSV file and  import updated CSV refer follow steps 

 

Export metadata and download 

Modify file and upload it again using below path.

 

in second approach you can write java servlet using JCR API you can remove properties Let me know if it helps you or not 

 

 

diksha_mishra
diksha_mishraAccepted solution
New Participant
January 4, 2024

@smrithi_govind  Please try the following custom methods to achieve this request:

  1. Create groovy script - here you can find an example that in general will do what you need - you will of course have to adjust properties/metadata that you would like to remove - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-asset-metadata-delete/...
  2. You will be able to get similar results using on deploy scripts - https://adobe-consulting-services.github.io/acs-aem-commons/features/on-deploy-scripts/index.html
  3. An extension for ACS Commons Manage Control Process - here is detailed description what should be done to use it for bulk deletion of properties/metadata - https://kiransg.com/2021/12/10/bulk-add-update-and-delete-properties-in-aem-without-using-groovy-con...

Hope this helps. 

New Participant
January 4, 2024

thanks @diksha_mishra for your quick response.