Bulk Metadata Deletion | Community
Skip to main content
diksha_mishra
Community Advisor
Community Advisor
February 7, 2022
Solved

Bulk Metadata Deletion

  • February 7, 2022
  • 1 reply
  • 2515 views

Is there a way to delete metadata in bulk using a CSV/Excel file or any other method in AEM 6.5?

We can add/modify existing fields, but can't remove already existing metadata fields. Any suggestions will be really helpful.

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 lukasz-m

Hi @diksha_mishra, I not think it is possible to achieved your goal without any additional coding. Here are some options:

  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 you would like to remove - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-asset-metadata-delete/td-p/433365
  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. Interesting option is also a small 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-console/

1 reply

lukasz-m
Community Advisor
lukasz-mCommunity AdvisorAccepted solution
Community Advisor
February 7, 2022

Hi @diksha_mishra, I not think it is possible to achieved your goal without any additional coding. Here are some options:

  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 you would like to remove - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-asset-metadata-delete/td-p/433365
  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. Interesting option is also a small 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-console/