Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.

AEM DAM Bulk Metadata Update using CURL | AEM Community Blog Seeding




AEM DAM Bulk Metadata Update using CURL by Stories by Singaiah Chintalapudi on Medi...


This article describes using CURL to update bulk metadata in AEM DAM. For this activity, I am updating the dam:assetState property value to: “processed”.
1. Get a list of DAM Asset path from AEM. The DAM Asset report can be generated based on your use-case. I am generating a report with the dam:assetState property.
2. You can go to: http://localhost:4502/mnt/overlay/dam/gui/content/reports/reportlist.html and create a new report
3. Select “Files” and give all the required info on the next screen and proceed further. Here you can click on Add under “Custom Columns” and give column name: Asset State and Property to map: jcr:content/dam:assetState and click on Create. This generates the CSV report.
4. Download the above CSV report
5. Since I want to filter the assets which has “processing” state and copy the paths to a text file (dam_assets.txt). Do not copy the headers of columns (first row). I was facing few issues with the CSV files so I ended up using plain text file.
Make sure you encode the spaces and other special characters.
6. Save below shell script to a file (dam_meta_prop_update.sh) where the dam_assets.txt file is located.

Read Full Blog

AEM DAM Bulk Metadata Update using CURL


Please use this thread to ask the related questions.

Kautuk Sahni

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies