Skip to main content
Vishal_Anand
Level 4
Jun 20, 2025 7:28 AM UTC
Solved

Which is the best approach of finding assets references in bulk on AEM Assets?

I have an use case of finding references of assets (images, pdfs, videos) in bulk across site. Each folder contains 2500+ assets.

Vishal_Anand
Vishal_AnandAccepted solution
Level 4
Jun 21, 2025 4:59 PM UTC

Found the best approach of using AEM ACS commons report. 

Link: /apps/acs-commons/content/reports.html

2 replies

Vishal_Anand
Vishal_AnandAuthorAccepted solution
Level 4
Jun 21, 2025 4:59 PM UTC

Found the best approach of using AEM ACS commons report. 

Link: /apps/acs-commons/content/reports.html

Translate
New Participant
Jun 21, 2025 1:55 PM UTC

You might want to explore this - AssetReferenceSearch

public AssetReferenceSearch(Node node,
                            java.lang.String searchPath,
                            ResourceResolver resolver)
The constructor.
Parameters:
node - node to start search for references
searchPath - search for assets starting with searchPath
resolver - resource resolver

public java.util.Map<java.lang.String,Asset> search()
Search all asset references
Returns:
map containing all asset refs
Translate