has anyone successfully used GraphQL on a 6.5.13 on premise instance.
I have GraphQL 1.0.5 package onto my 6.5.13 instance. I tried to do preview on content fragments but always get error “can not generate query”
Is it even supported on aem6.5.13?
thanks,
sri
Solved! Go to Solution.
Views
Replies
Total Likes
Hello @sreenu539 -
It is either an issue with the GraphQL query generation or the underlying GraphQL setup.
To rule out these please follow below documentations :
Additionally, ensure that the content fragment you are trying to preview has a valid and accessible preview URL.
In the content fragment model editor, click on the "Policies" tab.
Hello @sreenu539 -
If you have installed the GraphQL 1.0.5 package on your AEM 6.5.13 instance, then you can use GraphQL.
can you validate couple of things ?
use case: consume content fragments in a non-aem js application.
Below is the error I get when a content fragment preview:
Steps done:
1. Installed below package graphql Index package 1.0.5
2. create end points
3. Added csrf filter entries
4. tried end point schema, irrespective of which endpoint, I get below output which is not a real schema of any content fragments to get queries, results.
http://localhost:4502/content/cq:graphql/site/endpoint.GQLschema
Hello @sreenu539 -
It is either an issue with the GraphQL query generation or the underlying GraphQL setup.
To rule out these please follow below documentations :
Additionally, ensure that the content fragment you are trying to preview has a valid and accessible preview URL.
In the content fragment model editor, click on the "Policies" tab.
Hello @sreenu539
Try to enable graphQL endpoint as per below link.
AEM GraphQL API for use with Content Fragments | Adobe Experience Manager
Views
Likes
Replies