close

Filter

loading table of contents...

Studio Developer Manual / Version 2301

Table Of Contents

9.32.5.1 Provider specific config keys

uriTemplate

The URI template (Spring Boot style) to calculate/evaluate the preview URL.

Example: https://my-pwa-host.de/preview/{numericContentId}/{contentType}/{previewDateRFC1123}

These template variables are available to the URI template:

contentId

Contains the schemed content ID, like 'coremedia:///cap/content/550'

numericContentId

Contains only the numeric part of the content ID.

contentType

The Type of the content object, CMChannel, for example.

fqdn

The value of the environment variable ENVIRONMENT_FQDN (fully qualified domain name).

previewDate

The preview date as used by studio client, formatted as: 'dd-MM-yyyy HH:mm VV'

previewDateRFC1123

The preview date, formatted accordingly to RFC 1123, which is commonly used for date HTTP headers: 'EEE, dd MMM yyyy HH:mm:ss zzz'

rootSegment

The homepage root segment of the preview content object.

siteId

The site id of the preview content object.

view

The type of the request preview, fragmentPreview, for example.

Example configuration of the Generic URI-Template Preview Provider

Figure 9.25.  Example configuration of the Generic URI-Template Preview Provider


Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

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