How do you find all content fragment references? | Community
Skip to main content
Level 2
April 4, 2019
Solved

How do you find all content fragment references?

  • April 4, 2019
  • 3 replies
  • 4226 views

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

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 Gaurav-Behl

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

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

or try

"The Adobe AEM Quickstart and Web Application."

3 replies

Gaurav-Behl
Gaurav-BehlAccepted solution
Level 10
April 4, 2019

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

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

or try

"The Adobe AEM Quickstart and Web Application."

KurtHo1Author
Level 2
April 4, 2019

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.