Graphiql interface is working for only specific path. | Community
Skip to main content
May 16, 2025
Solved

Graphiql interface is working for only specific path.

  • May 16, 2025
  • 3 replies
  • 548 views

Graphiql interface is working for only specific set of query.

/aem/graphiql.html

 

how to configure to include all the query paths.

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 FranciscoMu1

Hi,
I created a folder called persistentQueries under /conf/{Business Unit}/settings/graphql/persistentQueries(my queries are there) to store all the queries. I used the /aem/graphiql.html interface to add them. Maybe you need to have the same kind of folder persistentQueries.

Please note that some operators only work if the GraphQL model type matches the data type used in the query (e.g., number, string, etc.).

3 replies

BowyaRaAuthor
May 16, 2025

All persistent graphql endpoints are added in the below path

/libs/cq/graphql/sites/admin/content/console.html

 

Only first endpoint queries are added to the Graphiql interface rest are not shown,

 

 

PRATHYUSHA_VP
Community Advisor
Community Advisor
May 19, 2025

Hi @bowyara 

 

Can you please elaborate your issue !!

 

FranciscoMu1
FranciscoMu1Accepted solution
Level 2
May 20, 2025

Hi,
I created a folder called persistentQueries under /conf/{Business Unit}/settings/graphql/persistentQueries(my queries are there) to store all the queries. I used the /aem/graphiql.html interface to add them. Maybe you need to have the same kind of folder persistentQueries.

Please note that some operators only work if the GraphQL model type matches the data type used in the query (e.g., number, string, etc.).

Supriya_Savre
Level 4
May 20, 2025

Hi @bowyara,

I hope the response shared above helped address your question. If it did, please mark it as "correct reply"— this helps others in the community find helpful solutions more easily.

If you’re still facing any more challenges, please feel free to continue the conversation here. We’re happy to support further.