Skip to content
MyAppBuilder
StableGuide

Preview as role

There are two ways to look at your app through someone else's eyes. The Storyboard's View as draws every screen and every navigation exactly as one role — or a signed-out visitor — sees them. The preview's Preview as runs the app as that role so you can click through it. Both use

There are two ways to look at your app through someone else's eyes. The Storyboard's View as draws every screen and every navigation exactly as one role — or a signed-out visitor — sees them. The preview's Preview as runs the app as that role so you can click through it. Both use the same filtering the server applies to real users, so what you see is what they get.

When to use

  • View as (Storyboard): to verify structure and content at a glance — are the portal pages reachable for customers, which buttons does a staff member see, what does a visitor who isn't signed in get?
  • Preview as (Preview): to verify behaviour — clicking, forms, records that belong to one user.

View as, in the Storyboard

  1. Open Storyboard → View as ▾ and choose Everyone (the builder's view: every screen, as the owner), a role (Owner, Admin, Staff, Viewer, Customer or a custom role) or Signed-out visitor.
  2. Pages the role can't open disappear with their lines; components it can't see are not drawn on the screens; buttons it can't see no longer start lines.
  3. Screens render with that role's data: lists only show the records the role may read; for roles with only their own records rules the preview signs in as the owner of a test record so the screens aren't empty. See Preview data.
  4. Validate Flow additionally checks what that role can do (As Customer, “View invoice” leads to a page Customer can't open).
  5. A Viewing as … chip stays on the canvas; click Everyone on it to go back.

Choosing a journey in Journey mode sets View as to the journey's role.

Preview as, in the preview

  1. Click Preview in the top bar (or Preview on a screen). The bar shows DRAFT · TEST DATA.
  2. Choose Preview as; for non-admin roles type an email in as user email to test only their own rules.
  3. Click through the app; the trail under the toolbar shows the pages visited. Close the preview to return where you were.

What is enforced where

WhatEnforced by
Pages the role may openServer filtering, mirrored by View as and Preview as
Components restricted with PermissionsServer filtering, mirrored by both
Records (entity rules, own records, hidden fields)Server; mirrored on Storyboard screens with test data
Visibility rulesDisplay only, not security

Common mistakes

  • Previewing a customer without an email: own-records rules then match nothing and lists are empty.
  • Expecting Everyone / Owner to reveal problems: full-access roles see everything — check the restricted roles.
  • Reading screens as live data: they always use test records or generated samples, never production data.

Related

Was this helpful?