Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Retrieving Content Fragment using utils?

Avatar

Level 3

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>

1 Accepted Solution

Avatar

Correct answer by
Level 5

Hi @goonmanian-gooner , 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-... 

 

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

View solution in original post

1 Reply

Avatar

Correct answer by
Level 5

Hi @goonmanian-gooner , 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-... 

 

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