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

SOLVED

How do you find all content fragment references?

relaxabyte-corp
Level 2
Level 2

Hello,

I would like to see all references of a variation of a content fragment. I did not see "References" in the metadata properties screen like other assets. I have been doing this by Query. Is there a tool that is available to do this that I missed? If not, is anyone aware of someone already building this (and what git repo would that be)?

Thanks,

relaxabyte

1 Accepted Solution
Gaurav-Behl
Correct answer by
Community Advisor
Community Advisor

Via UI, it is available irrespective of master/variation version, just select the CF on dam list page (http://localhost:4502/assets.html/content/dam)​ and click on Filter on left side

1725285_pastedImage_1.png

Via Query: you may follow this API. check the xhr tab

or try

"The Adobe AEM Quickstart and Web Application."

View solution in original post

3 Replies
Gaurav-Behl
Correct answer by
Community Advisor
Community Advisor

Via UI, it is available irrespective of master/variation version, just select the CF on dam list page (http://localhost:4502/assets.html/content/dam)​ and click on Filter on left side

1725285_pastedImage_1.png

Via Query: you may follow this API. check the xhr tab

or try

"The Adobe AEM Quickstart and Web Application."

View solution in original post

relaxabyte-corp
Level 2
Level 2

Thanks for the quick reply. I missed the Filter when looking for references. I am surprised that the ability to filter by variation hasn't come up.

I was using SQL2:

SELECT * FROM [nt:unstructured] AS comp
WHERE ISDESCENDANTNODE(comp, "[/content/parent/path]")
AND [sling:resourceType] = "dam/cfm/components/contentfragment"
AND comp.fileReference = "[content/dam/path/to/content/fragment]"

AND comp.variation = "[variationName]"

Is it possible to extend Site Reference to include a variation? It seems like that info could be available from the API.