☁️ Loving our new documentation website? Provide feedback in the CloudCannon Community! ✨

new_preview_url

Table of contents

Description:

This key defines a new URL for previewing your unbuilt pages in the Visual Editor.

The Visual Editor will load the new preview URL and use Editable Regions, or Data Bindings and Previews, to render your page without saving or building.

This key does not affect the URL for your Testing Domain or Custom Domain.

Appears in:
└── collections_config
    └── *
        └── new_preview_url
Type:
string
Examples:

In this example, the Visual Editor will open the /about/ page when you open an unbuilt page from the blog Collection.

Copied to clipboard
collections_config:
  blog:
    new_preview_url: /about/
{
  "collections_config": {
    "blog": {
      "new_preview_url": "/about/"
    }
  }
}
Open in a new tab