Dam asset references | Community
Skip to main content
Level 2
October 16, 2015
Solved

Dam asset references

  • October 16, 2015
  • 4 replies
  • 5753 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Yogesh_Upadhyay

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

Yogesh

4 replies

Daniel_Gordon
Adobe Employee
Adobe Employee
October 16, 2015
smacdonald2008
Level 10
October 16, 2015

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 ?

Yogesh_Upadhyay
Yogesh_UpadhyayAccepted solution
Level 6
October 16, 2015

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

Yogesh

martina54439202
Level 2
May 22, 2020

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.