Skip to content
Jetrepo
Esc
navigateopen⌘Jpreview
On this page

Add preview targets

Add trusted frontend targets, templates, type scopes, and breakpoints.

A Preview target is a named frontend destination that Jetrepo embeds. Your frontend still owns routing, rendering, and deployment.

Add and test a target

  1. Open Settings → Preview and select New target.
  2. Enter a name, exact Trusted origin, and credential-free URL template. Supported placeholders cover Backend, entity, type, locale, Release, and perspective values.
  3. Allow all types or choose specific Content and Asset types.
  4. Add viewport presets from 240–3840 pixels wide and 320–2160 pixels high, then choose Enabled and Default settings.
  5. Save and test. The test opens the Published comparison and waits five seconds for the Preview bridge to report ready.

To read targets, a member needs backend.read and previewTarget.read. Creating, editing, and deleting require backend.read plus previewTarget.create, previewTarget.update, or previewTarget.delete respectively. An authenticated test also needs previewSession.create, previewTarget.read, content.read for the target Data Type and Locale, and release.read when testing a Release perspective.

Jetrepo resolves the URL under the exact trusted origin. The iframe allows scripts, same-origin content, and forms. If a Data Type deletion removes the final restriction from a target, Jetrepo disables the target rather than broadening it.

Was this page helpful?