Which is the best approach of finding assets references in bulk on AEM Assets? | Community
Skip to main content
Vishal_Anand
New Participant
June 20, 2025
Solved

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

  • June 20, 2025
  • 2 replies
  • 717 views

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

Best answer by Vishal_Anand

Found the best approach of using AEM ACS commons report. 

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

2 replies

Vishal_Anand
Vishal_AnandAuthorAccepted solution
New Participant
June 21, 2025

Found the best approach of using AEM ACS commons report. 

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

New Participant
June 21, 2025

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