Skip to main content
Level 3
Aug 29, 2022 9:16 PM UTC
Solved

Retrieving Content Fragment using utils?

Is it possible to retrieve a list of content fragments from a folder within assets using the ContentFragment Utils? Or is there an easier way to retrieve a list of content fragments from /content/dam/<my-org>/content-fragments/<folder-with-many-content-fragments>

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Pradeep_Kumar_Srivastav
Pradeep_Kumar_SrivastavAccepted solution
Community Advisor
Aug 30, 2022 12:45 AM UTC

Hi @juanec2 , there is a core component which you can use to get list of CF on a page. Please refer https://experienceleague.adobe.com/docs/experience-manager-core-components/using/components/content-fragment-list.html?lang=en 

 

You can use query builder to get list of CFs in asset.

1 reply

Pradeep_Kumar_Srivastav
Community Advisor
Pradeep_Kumar_SrivastavCommunity AdvisorAccepted solution
Community Advisor
Aug 30, 2022 12:45 AM UTC

Hi @juanec2 , there is a core component which you can use to get list of CF on a page. Please refer https://experienceleague.adobe.com/docs/experience-manager-core-components/using/components/content-fragment-list.html?lang=en 

 

You can use query builder to get list of CFs in asset.

Translate