Test and live data
Every entity has two completely separate sets of records. Test data is what the builder, the preview and staging deployments use, so you can design, try forms and run workflows without touching anything real. Live data is what your published production app reads and writes. The d
Every entity has two completely separate sets of records. Test data is what the builder, the preview and staging deployments use, so you can design, try forms and run workflows without touching anything real. Live data is what your published production app reads and writes. The data model (entities, fields, relationships, permissions) is shared; only the records differ.
When to use
Work in test data while building and testing. Switch to live data only to inspect or fix what real users created, or to load real records into a published app.
Which data is used where
| Where | Data | Who |
|---|---|---|
| Builder canvas and records editor (default) | Test | Builders |
| Preview and full-screen preview | Test | Builders previewing as any role |
Staging preview deployment (/s/<address>) | Test | Test users and anyone with the link |
| Production (live) app | Live | Your real users |
| Records editor with the Live data switch | Live | Admins and owners only |
App users are separate per environment too: a test user signs in to staging and sees test data; people who sign up on the live app are live users.
Switching in the records editor
On an entity's Records tab, use the Test data / Live data switch. Live mode shows a red banner — You are editing LIVE data. Changes affect your published app and its users immediately. — and is only available to workspace admins and owners. Search, filters, import, export and deletion all act on the environment shown.
Sample data and clearing
The Data menu offers Generate 5 / 10 / 25 sample records and Clear test data. Both act on test data only; live data can never be cleared from this menu. Sample values are plausible placeholders (names, emails, amounts, dates around today, options in rotation).
External data sources
An entity mapped to an external table reads the same table in both modes, but with different credentials: test data uses the Development secret, live data the Production secret (Settings → Environment & secrets). Point them at different databases if you want a safe test copy.
Typical flow
1. Build with test data (samples, CSV of a few rows) 2. Preview as each role · deploy to staging · test users try it 3. Publish to production 4. Live data: import the real list (admin) · users create records 5. Keep improving with test data; publishing never copies records between environments
Common mistakes
- Expecting test records to appear after publishing: environments never sync. Import live data separately.
- Testing a workflow on live data: use test data and Test run in Logic.
- Giving editors live access: only admins and owners can view or edit live data; this is intentional.
- Deleting live records to "clean up": deletions are permanent; export first.