How to get all the unused DAM assets (their path and size) in AEM 6.2. Is there some kind of Xpath query or code?
This is discussed in this thread - see if this helps you -- find unused assets in aem
Views
Replies
Total Likes
AEM OOB does not provide any tool find un used assets but day.cq provide good API's to implement this.
Implementation:
1. write a servlet to iterate all assets strating form /content/dam/project
2. to each asset use ReferenceSearch ("The Adobe AEM Quickstart and Web Application.") API
public Map<String,ReferenceSearch.Info> search(ResourceResolver resolver, String path)
3. If it has references then skip and it doesn't then you can add it to servlet response.
Hope that helps
Nice suggestion!
Views
Replies
Total Likes
Yup I Agree with mjb54261515
Views
Replies
Total Likes
Hi
Go to "localhost:4502/assets.html/content/dam" and click on Box icon on right hand side below the header -> click on Filters
On right hand side new tab would come up. Select publish status -> Unpublished , this will show all the un-published assets in the instance.
There are loads of filters that you can use.
I hope this would help you.
~kautuk
Views
Replies
Total Likes
Views
Likes
Replies