Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

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 Accepted Solution

Avatar

Correct answer by
Level 5
0 Replies

Avatar

Correct answer by
Level 5

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

Yogesh

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.