Rendering content fragments using multifield and sling model | Community
Skip to main content
September 6, 2023
Solved

Rendering content fragments using multifield and sling model

  • September 6, 2023
  • 1 reply
  • 636 views

My use case is to render content fragments and its variations using multifield dialog of path browser and sling model using content fragment API in AEM as a cloud service, Please help me on this.

 

Thanks in advance!

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 Saravanan_Dharmaraj

@444 Please check out this blog on how to retrieve the CF using APIs and sling model

https://kiransg.com/tag/content-fragment/  - check section "FAQ / Q&A using Content Fragments AEM"

 

Working code example here :  https://github.com/kiransg89/AccordionContentFragment/tree/main/accordioncontentfragment

 

 

 

 

1 reply

Saravanan_Dharmaraj
Community Advisor
Saravanan_DharmarajCommunity AdvisorAccepted solution
Community Advisor
September 6, 2023

@444 Please check out this blog on how to retrieve the CF using APIs and sling model

https://kiransg.com/tag/content-fragment/  - check section "FAQ / Q&A using Content Fragments AEM"

 

Working code example here :  https://github.com/kiransg89/AccordionContentFragment/tree/main/accordioncontentfragment