Studio Developer Manual / Version 2204
Table Of Contents- 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.