Web Studio is here! An enhanced experience to make it easier to create, preview, and collaborate on your website contentLearn More
Agility generates a unique URL to send to your browser whenever a user clicks Preview or View in Live Mode from an item in your instance. It's important to know how these URLs are structured in order to properly handle them.
In order to initiate preview mode, Agility sends a URL to the user’s browser that has some query strings added to it.
It will look something like this:
https://myside.com/path?ContentID=[ContentID]&lang=[locale]&agilitypreviewkey=[HASHCODE]&agilityts=[timestamp]
We recommend storing a session cookie value with a secure token that your site can check in subsequent calls in order to allow the user to navigate through the entire site in preview mode.
We also highly recommend including something visual on your website when it’s in preview mode so that your users will know that they may be seeing staging content that isn’t published yet.
https://myside.com/path?ContentID=[ContentID]&lang=[locale]&AgilityPreview=0
When linking to a page in “Live Mode”, Agility sends a few additional parameters to your site.
Recommend Articles