GraphQL Integrated Demo

Integrated GraphQL executes GraphQL queries within the Layout Service endpoint, and merges the query results into the Layout Service result JSON. The query results can be seen by inspecting the Layout Service response in the browser devtools network tab.

Datasource Item (via Integrated GraphQL)

id: {{ queryResult.data.datasource.id }}
name: {{ queryResult.data.datasource.name }}
sample1: {{ queryResult.data.datasource.sample1.value }}
sample1 (editable):
sample2:

Route Item (via Integrated GraphQL)

id: {{ queryResult.data.contextItem.id }}
page title: {{ queryResult.data.contextItem.pageTitle.value }}
children: