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.
- Open the content type you want to set a preview page for by pressing the Edit button in the Content type listing screen.
- When the Content type builder opens, the settings for the content type will be displayed in the Details panel.
-
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}
- 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.
Was this article helpful?