Skip to main content
Browse Documentation
Set a preview page for entries

Set a preview page for entries

Created by Contensis product team, last modified by r.bromley on 21 Sep 2021

If you want to enable a preview page for your entries whilst you are developing a new view for a site, you'll need to provide a URL to a page containing a view that will render your content.

  1. Open the content type you want to set a preview page for by selecting it in the Content type listing screen.
  2. When the content type builder opens, the settings for the content type will be displayed in the Details panel.
  3. Locate the Preview section and enter a URL in the Preview URL text box with a query string parameter that expects the GUID of an entry. For example,{GUID}&language={LANG}&slug={SLUG}.
  4. Save and Publish your changes to the content type. Once the URL has been set, a Preview button will appear in the entry editor.

Note: You can use the {GUID}, {LANG} and {SLUG} strings to specify where you want the GUID, language and slug of the entry to be placed in the URL.

Entries attached to nodes

Once an entry has been attached to a node in the Site View tree, each of the URLs that the entry is attached to will be displayed in a preview dropdown menu from the entry editor toolbar. The canonical URL will be the default preview option.