This article will show you how to add Preview URLs for Content Types. Preview URLs allow readers to preview content as an end-user would see it, such as on a Web Evolve website.
Instructions
- Navigate to Content Types and select the Content Type you want to add Preview URLs to
- Click the More tab
- Configure your Preview URLs
- Web or Mobile: Indicate whether web or mobile URL
- URL with variables: Add the URL with placeholders such as ${id} or ${data.slug}
- Click + to add as many Preview URLs as necessary
- Click Save
- In the dialog, you can define preview URLs as you want such as:
-
The URL to the normal website.
-
The URL to a dedicated mobile website (just as an example).
You can use a placeholder with the javascript interpolation syntax, such as:
-
${id}
of the content. -
${data.slug}
: Slug field (if not localized). -
${data.slug.iv}
: Slug field, alternative syntax. -
${data.title.en}
: Title in English -
${data.title.en-US}
: Title in American English -
${version}
: Version of the content item.
-
-
- Follow these instructions to see how to preview a linked URL
Comments
Let us know what was helpful or not helpful about the article.0 comments
Please sign in to leave a comment.