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

Graphiql interface is working for only specific path.

  • May 16, 2025
  • 3 replies
  • 546 views

Graphiql interface is working for only specific set of query.

/aem/graphiql.html

 

how to configure to include all the query paths.

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

FranciscoMu1
FranciscoMu1Accepted solution
New Participant
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
New Participant
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.

PRATHYUSHA_VP
New Participant
May 19, 2025

Hi @bowyara 

 

Can you please elaborate your issue !!

 

BowyaRaAuthor
New Participant
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,