close

Filter

loading table of contents...

Headless Server Developer Manual / Version 2401

Table Of Contents

3.4.1 JSON Preview Client

The 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 content type 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

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.