Webflow Preview Link ❺
Add an adaptive preview link to your demo site, which will link to the correct page of your read-only preview.
Enables you to dynamically construct a Webflow preview link to the current page.
If you develop Webflow sites, and want to make it easy for someone to click a button that switches the current page into a design mode view, this utility enables that.
- You must have created a preview link to your site, and extract the preview link Id. It looks something like this-
- Does not work with Collection pages, since they require an additional collection item ID that is not emitted into the page.
Easy link to cloneable from shortname demo site
Cloning trigger option
e.g. current-user-info.webflow.io maps to
Add this code to the before BODY of your site or page.