コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.
解決済み

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

Avatar

Level 4

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

トピック

トピックはコミュニティのコンテンツの分類に役立ち、関連コンテンツを発見する可能性を広げます。

1 受け入れられたソリューション

Avatar

正解者
Level 4

Found the best approach of using AEM ACS commons report. 

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

元の投稿で解決策を見る

2 返信

Avatar

Community Advisor

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

Avatar

正解者
Level 4

Found the best approach of using AEM ACS commons report. 

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