Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Resolve duplicates/unreferenced assets in AEM


Level 6


Request for Feature Enhancement (RFE) Summary: Functionality to resolve duplicates/unreferenced assets in AEM DAM along with mechanism to set asset name validation while uploading an asset.
Use-case: For larger organizations to maintain and better organize AEM DAM, where the number of assets(mostly pdf's) is ever increasing. 
Current/Experienced Behavior: Custom workflows/maintenance jobs or even need to write python/bash scripts.
For any new assets making entry in the system we should make amends in form of asset name validations to prevent malformed names (customization).
Improved/Expected Behavior: OOTB functionality to resolve duplicates/unreferenced and to set regex for asset name validation w.r.t the naming convention the organization would be following..

Environment Details (AEM version/service pack, any other specifics if applicable):  
Screenshot (if applicable):  
Code package (if applicable):  


Level 6


Hi @hamidk92094312 


The referenced post here is about detecting the duplicates on asset upload. The requirement here would be to organize and better manage an existing repository by detecting and resolving the duplicates which is already in DAM. The current solution is to write something custom and to manually transfer the references to the duplicated pdf with the most references.

W.r.t the unreferenced as well it needs to be a script or custom code. What we currently do is that we run a script to identify the unreferenced assets and move them to a different folder extending the same script.