Hi Team,
In AEM DAM - How can we find the images which are not referenced in any pages i.e. Images not in use through out my site or unwanted images in DAM.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
Pls navigate to the respective image in AEM DAM folder and check the properties of the image. You can find all the references mentioned in that tab.
Also you can use ACS Commons Renovator tool if you want to create a comprehensive report. Pls check the below link for more details . Hope this will be helpful .
https://kiransg.com/2021/11/10/aem-asset-repo-cleanup-acs-commons-renovator/
Thanks,
Somen
Hi,
Pls navigate to the respective image in AEM DAM folder and check the properties of the image. You can find all the references mentioned in that tab.
Also you can use ACS Commons Renovator tool if you want to create a comprehensive report. Pls check the below link for more details . Hope this will be helpful .
https://kiransg.com/2021/11/10/aem-asset-repo-cleanup-acs-commons-renovator/
Thanks,
Somen
HI @somen-sarkar,
Using this I am able to view the report but when I click on download I am getting this error. Can you let me know why this is happens
h1>Error during requesting: '/var/acs-commons/mcp/instances/7A538F48479294AD/_jcr_content/report.xlsx'<h3>Error Message:</h3> <pre>java.lang.NoSuchMethodError: org.apache.poi.xssf.usermodel.XSSFColor.<init>(Ljava/awt/Color;)V</pre><h3>Processing Info:</h3> <table style='font-family: monospace'> <tr><td>Page</td><td>=</td><td>/var/acs-commons/mcp/instances/7A538F48479294AD<td></tr><tr><td>Resource Path</td><td>=</td><td>/var/acs-commons/mcp/instances/7A538F48479294AD/jcr:content/report<td></tr><tr><td>Cell</td><td>=</td><td><td></tr><tr><td>Cell Search Path</td><td>=</td><td><td></tr></table> <h3>Sling Request Progress:</h3>
Thanks,
Sindhuja
Views
Replies
Total Likes
1.Go to host:port/damadmin, select asset for the asset -> Go to Tools -> references.
2. You may use filters by going to host:port/assets.html/content/dam -> Select asset and use 'Filter' present in sidekick at left
3. There is no OOTB functionality for this but if you are intrested in custom implementation, this post might help you ->
https://stackoverflow.com/questions/35187627/how-to-find-unused-images-from-cq-dam
or
Audit Reports that can help you analyze asset usage. You can access them through the AEM Web Console at http://<your_aem_instance>:<port>/system/console/configMgr.
These reports can give you an idea of how often assets are being viewed and downloaded, which can be indicative of usage.
Asset References: Use a tool like AEM's Query Builder to find references to DAM assets. The Query Builder can be accessed at http://<your_aem_instance>:<port>/libs/cq/search/content/querydebug.html.
For example, you can use a query to find pages that reference a specific asset:path:/content YOUR_ASSET_PATH/jcr:content//*[jcr:contains(., 'YOUR_ASSET_PATH')]
Replace YOUR_ASSET_PATH with the path of the asset you want to check.
@Kummari_DilipKu : You can try with this as well: https://kiransg.com/2022/03/26/broken-asset-references-aem/
Note: This is based on understanding that whichever asset is referenced would be published as well when the page which is referencing/using them is activated.
If an asset is not referenced, it would never get published unless you manually publish it for some reason.
thanks.
@Kummari_DilipKu : One more for reference: https://github.com/frappierer/unrefAemAssets
Thank you.
Views
Likes
Replies