How do you find all content fragment references?

Avatar

Avatar

relaxabyte-corp

Avatar

relaxabyte-corp

relaxabyte-corp

04-04-2019

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281
Gaurav-Behl
MVP

04-04-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

1725285_pastedImage_1.png

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

or try

"The Adobe AEM Quickstart and Web Application."

Answers (2)

Answers (2)

Avatar

Avatar

relaxabyte-corp

Avatar

relaxabyte-corp

relaxabyte-corp

04-04-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.