Headless Server Developer Manual / Version 2201
Table Of ContentsThe JSON Preview Client is available in the Maven module json-preview-client of the Blueprint workspace.
Deployment
The JSON preview client is deployed together with the Headless Server. The Headless Server has a
dependency to json-preview-client
. It is activated with property
caas.preview=true
which is set for headless-server-preview.
To remove the JSON Preview Client, the dependency to
json-preview-client
has to be removed from pom.xml of module headless-server-app
.
JSON Preview Client Configuration
A JSON Preview is available for all content types that have a preview configured. To support specific
documenttype properties, corresponding queries can be added in content.graphql
.
As the JSON Preview Client is deployed together with the headless-server-preview, the following configuration needs to be applied to headless-server-preview:
Endpoint of the Headless Server for the JSON Preview Client:
previewclient.caasserver-endpoint=http://[hostname]:41180/graphql