Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

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

Avatar

Administrator

BlogImage.jpg

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

Abstract

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”.
Steps:
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

Q&A

Please use this thread to ask the related questions.



Kautuk Sahni
Topics

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

0 Replies