Preview content

You can now preview the content that you created and stored in the Acoustic Content before you publish them. In preview mode, the draft content is overlaid over the published content, and it is displayed as it will appear once it is published.
To access Content in preview mode, use the same live URLs, and replace the host with a dedicated preview host. To protect your draft content from being accessed by the public before you publish the content, access to the preview mode is restricted to your subscription viewer users.
Your preview host has a well-defined name that is derived from your API hostname. The preview hostname is the same as your API hostname with the first segment of your fully qualified domain name that is suffixed with the string -preview.
Examples:

  • API host content-XX-N.content-cms.com corresponds to preview host:
    content-XX-N-preview.content-cms.com
  • API host wch.greenwheels.com corresponds to preview host:
    wch-preview.greenwheels.com.

Use preview with custom hostnames

When you use a custom hostname, you must add a CNAME mapping for the preview host to the same edge hostname used by your custom hostname.

You can use the Content login APIs to authenticate to your preview host.
Examples:

  • API base URL content-XX-N.content-cms.com/api/12345678-1234-1234-1234567890ab corresponds
    to preview login URL: content-XX-N.content-cms.com/12345678-1234-1234-1234567890ab/login/v1/basicauth.
  • API base URL wch.greenwheels.com/api corresponds to preview login URL: wch-preview.greenwheels.com/api/login/v1/basicauth

Did this page help you?