내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Dam asset references

Avatar

Level 3

Hi EveryOne ,

I would liketo know if there is a way to get the list of references of an asset  (The WCM pages it is being used ) through APIs.

Something like Asset.getReferences();

Or if there is some other alternative to get the same, please suggest.

 

Regards

Harish

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 5
4 답변 개

Avatar

정확한 답변 작성자:
Level 5

You can also get example from here http://wemcode.wemblog.com/get_asset_reference_in_page

Yogesh

Avatar

Level 10

HAve you looked at the API documentation listed here: http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/dam/api/Asset.html ?

Avatar

Employee Advisor

There is the AssetReferenceSearch: http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/dam/commons/util/AssetReferenceSearch.html

There is also the ReferenceSearch api: http://dev.day.com/docs/en/cq/current/javadoc/com/day/cq/wcm/commons/ReferenceSearch.html and the ReferenceSearch.Info for the result set.

Avatar

Level 2

Check out 

https://github.com/frappierer/unrefAemAssets

it will give you a list of all unrealted assets in AEM.

 

its not the best code, but its working fine.