Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

How to bulk update metadata in AEM assets

Avatar

Level 4

Hello Team,

 

I want to update metadata for 10, 000 assets in AEM

 

What is the best way to update metadata for bulk no. Of assets at once or in batch wise?

 

Thanks

 

 

1 Accepted Solution

Avatar

Correct answer by
Employee

for AEM Cloud - You would need to use AEMaaCS OOTB Bulk Importer or use aem-upload npm module

. Bulk importer should work fine if you can manually export and update metadata in the csv and re-import metadata using OOTB feature.

node based aem-upload library - if you want to do it programmatically or need to push this from an external source/script.

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

https://www.npmjs.com/package/@adobe/aem-upload

 

 

for AEM Onpremise/AMS - use Data importer ACS AEM Commons

under AEM MCP tools.

Though CSV importer is also an option but that is mostly replaced by ACS AEM Commons Data Importer  as stated in ACS public docs.

View solution in original post

4 Replies

Avatar

Employee Advisor

@girishb83316758 Assuming that you are on AEMaaCS, then

Bulk Import Tool is the best way to go. However, it has a limitation of Batch Size of 100 that needs to be figured out.

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/content/assets/admin/metada...

 

Another way is to use Assets HTTP API, creating a mapping file, writing a script to automate the metadata update:

https://experienceleague.adobe.com/docs/experience-manager-65/assets/extending/mac-api-assets.html?l...

https://github.com/leachuk/aem-asset-upload

 

However, if it is AEM On Prem, consider using ACS Commons CSV Importer

https://adobe-consulting-services.github.io/acs-aem-tools/features/csv-asset-importer/index.html

 

Avatar

Correct answer by
Employee

for AEM Cloud - You would need to use AEMaaCS OOTB Bulk Importer or use aem-upload npm module

. Bulk importer should work fine if you can manually export and update metadata in the csv and re-import metadata using OOTB feature.

node based aem-upload library - if you want to do it programmatically or need to push this from an external source/script.

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

https://www.npmjs.com/package/@adobe/aem-upload

 

 

for AEM Onpremise/AMS - use Data importer ACS AEM Commons

under AEM MCP tools.

Though CSV importer is also an option but that is mostly replaced by ACS AEM Commons Data Importer  as stated in ACS public docs.

Avatar

Level 4

I got the solution from 

https://experienceleague.adobe.com/docs/experience-manager-64/assets/administer/metadata-import-expo...

 

First exported metadata of all assets in folder. Select the folder which has assets. From toolbar select metadata export. It gives CSV file.

Secondly, I edited CSV file with metadata required. And imported this file in asset.

It processed 100 files in a batch.

 

Thanks

 

 

 

 

 

 

 

Avatar

Level 1

Your original message said that you wanted to update 10,000 assets. Bulk CSV importer lets you import only 100 in a batch. How did you update all 10,000?