Bulk edit metadata properties for an asset and bulk untag assets | Adobe Higher Education
Skip to main content
Level 3
January 4, 2024
Resuelto

Bulk edit metadata properties for an asset and bulk untag assets

  • January 4, 2024
  • 2 respuestas
  • 1219 visualizaciones

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.

Este tema ha sido cerrado para respuestas.
Mejor respuesta de 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 respuestas

diksha_mishra
Community Advisor
diksha_mishraCommunity AdvisorRespuesta
Community Advisor
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. 

Level 3
January 4, 2024

thanks @diksha_mishra for your quick response. 

prakashvb
Level 2
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