Hi All,
I wanted to check if the following actions can be performed for a large volume of assets in AEM DAM, and what possible methods or tools (APIs, GenAI, scripts, etc.) we can use to achieve them:
Bulk Rename Assets – Is there a way to change file names in bulk, either through AEM APIs, scripts, or using GenAI-based logic (e.g., metadata-driven naming)?
Reorganize Folder Structure – Can we move assets across folders or restructure the DAM in bulk through automation?
Identify Duplicate Assets – Is there a reliable way to detect and report duplicate assets (based on content, metadata, checksum, etc.)?
Appreciate your inputs on what's feasible within AEM's native capabilities or if any custom approach is recommended.
Best regards,
Solved! Go to Solution.
Views
Replies
Total Likes
Bulk Rename Assets – AEM Assets HTTP API or JCR API : Use scripting (e.g., Groovy, Sling servlets) to traverse assets and rename them
Reorganize Folder Structure-
Bulk Rename Assets – AEM Assets HTTP API or JCR API : Use scripting (e.g., Groovy, Sling servlets) to traverse assets and rename them
Reorganize Folder Structure-
Hi @Neel_Mehta,
Technically, yes—it is possible for all the scenarios you mentioned. However, there is no built-in UI console to achieve this through button clicks.
You'll need to use one of the following methods:
Asset APIs (https://experienceleague.adobe.com/en/docs/experience-manager-cloud-service/content/assets/admin/mac...)
A custom servlet that handles your use case using the DAM and AssetManager APIs
Groovy scripts tailored to your specific scenario
Thank you,
@B_Sravan
Hi @Neel_Mehta ,
These are some ways to perform actions for a large volume of assets in AEM DAM -
1. Bulk Rename Assets
1. Use the AEM Assets HTTP API (/api/assets) or Sling POST as a servlet.
2. Or run a Groovy Console or custom servlet that:
2. Reorganize Folder Structure:- Use Groovy Console or custom Java/Groovy script employing ResourceResolver.move() or Sling POST with :dest
3. Identify Duplicate Assets
Process:
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies