Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Can i use GraphQl to retrieve content fragments in AEM page


Level 2

I am going through the experience league tutorials on how we can retrieve CF in other application using GraphQl, but there is a scenario where i want to retrieve nested CF's in AEM page so instead of using Content Fragment component can i enable GraphQl endpoint and use that in my AEM page?

4 Replies


Level 5

hi @coolclassic 


Could you  please try exploring option of achieving your option through aem content services :

are you planning to use the CF functionality extensively through out site ? I am trying to understand the rationale behind GraphQL.



Pallavi Shukla


Level 2

Hi Pallavi,

Thank you for your response, we are leveraging GraphQl to consume CF in a React application but there is a need to show the same content with some additional logic within AEM page so instead of using content fragment component i was thinking can i use GraphQl to render CF in AEM? 



Level 2

Hi Anish,

I have gone through the documentation, GraphQL API in AEM enables the efficient delivery of Content Fragments to JavaScript clients in headless CMS implementations, my query is instead of any REACT/Angular client can i use these endpoints within Sightly?