You can now preview the content that you created and stored in the Acoustic Content before you publish them. In preview mode, all your draft content is displayed as they would when they are published.
To access your hub 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 public before you publish the content, access to the preview mode is restricted to your hub viewer users.
Your preview host has a well-defined name that is derived from your API host name. The preview host name is the same as your API host name with the first segment of your fully qualified domain name that is suffixed with the String -preview
.
Examples:
- API host
my1.digitalexperience.ibm.com
corresponds to preview host:
my1-preview.digitalexperience.ibm.com
- API host
wch.greenwheels.com
corresponds to preview host:
wch-preview.greenwheels.com
Using preview with custom host names
When you use a custom host name, you must add a
CNAME mapping for the preview host to the same edge host name used by your custom host
name.
You can use the Acoustic Content login APIs to authenticate to your preview host.
Examples:
- API base URL
my1.digitalexperience.ibm.com/api/12345678-1234-1234-1234567890ab
corresponds
to preview login URL:
my1.digitalexperience.ibm.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