Retrieving Content Fragment using utils? | Community
Skip to main content
Level 3
August 29, 2022
Solved

Retrieving Content Fragment using utils?

  • August 29, 2022
  • 1 reply
  • 526 views

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.
Best answer by Pradeep_Kumar_Srivastav

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
August 30, 2022

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.