Install GraphiQL IDE on AEM 6.5
In AEM 6.5 the GraphiQL IDE tool must be manually installed.
-
Navigate to the Software Distribution Portal > AEM as a Cloud Service.
-
Search for “GraphiQL” (be sure to include the i in GraphiQL).
-
Download the latest GraphiQL Content Package v.x.x.x.
The zip file is an AEM package that can be installed directly.
-
From the AEM Start menu, navigate to Tools > Deployment > Packages.
-
Click Upload Package and choose the package downloaded in the prior step. Click Install to install the package.
-
Navigate to CRXDE Lite > Repository Panel > select
/content/graphiql
node (for example, http://localhost:4502/crx/de/index.jsp#/content/graphiql). -
In the Properties tab change value of
endpoint
property to/content/_cq_graphql/wknd-shared/endpoint.json
.
-
Navigate to the Web Console Configuration UI > Search for CSRF Filter configuration (for example,http://localhost:4502/system/console/configMgr/com.adobe.granite.csrf.impl.CSRFFilter)
-
In the
Excluded Paths
property name field update, the WKND GraphQL endpoint path to/content/cq:graphql/wknd-shared/endpoint
.
- Access the GraphiQL editor using
//HOST:PORT/content/graphiql.html
, and verify you can construct a new query or execute an existing query. (e.g http://localhost:4502/content/graphiql.html)
endpoint
and Excluded Paths
values in above steps.