is it possible to query AEM page/assets content using GraphQL ? | Community
Skip to main content
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 Kishore_Kumar_

Hi @ravi_joshi ,

 

AEMaaCS provides OOTB Graphql API support for Content Fragments.

 

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/assets/admin/graphql-api-content-fragments.html?lang=en 

 

Recently it is also enabled in AEM 6.5 SP 10.

2 replies

arunpatidar
Community Advisor
Community Advisor
October 12, 2021
Kishore_Kumar_
Kishore_Kumar_Accepted solution
Level 9
October 12, 2021

Hi @ravi_joshi ,

 

AEMaaCS provides OOTB Graphql API support for Content Fragments.

 

https://experienceleague.adobe.com/docs/experience-manager-cloud-service/assets/admin/graphql-api-content-fragments.html?lang=en 

 

Recently it is also enabled in AEM 6.5 SP 10.

Ravi_Joshi
Level 4
October 22, 2021

Hi Kishore,

 

That is correct. But I was thinking about an custom implementation to expose AEM page content over graphQL. Any thoughts on that ?

 

Thanks

Ravi Joshi

Abhey
Level 3
September 29, 2022

Hi @abhey ,

 

Please find the GitHub URL. This implementation is really helpful.

https://github.com/zheng4uga/AEM-GraphQL 

 

For exposing the query results as a service we can use sling exporter which can accept the graphQL query as a request parameter and process it.

 

Please do let me know if there is anything.

 

Thanks,

Ravi

 


Thanks @ravi_joshi