Skip to main content
Logo
There is a newer version of Contensis. Click to find out more and download the latest version.

Set a preview page for entries

If you want to enable a preview page for your entries, you'll need to provide a URL to a page that contains a Razor view, that will render your content.

  1. Open the content type you want to set a preview page for by pressing the Edit button 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. Enter a URL in the Preview URL text box with a query string parameter that expects the GUID of an entry.

    e.g. http://mywebsite.com/products/products.aspx?id={GUID}&language={LANG}

  4. Once the URL has been set a Preview button will appear in the entry editor.

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