Records
Records are the data your app keeps: bookings, products, messages, whatever its data models describe. You see and edit them in the studio, under App → Records.
Preview or published app
At the top of the tab, choose whose records you see:
- Preview — try-out data in the running preview. It starts again from the app’s sample data whenever the preview restarts. You need the project open to see it.
- Published app — the live data of the published app. You edit it as the owner, whatever the app’s access rules say. Until the app is published there is nothing here.
Then pick a Model from the list. Each model is one table.
Add, edit and delete
- Add record opens an empty row. Fill in the fields and click Save.
- Edit on a row lets you change it; Save or Cancel.
- Delete removes a record after you confirm.
Long tables are shown 50 records at a time, with Previous and Next.
If the app keeps no records yet, the tab says so. Its models are defined in
app/definitions/entities.json; ask the agent to add or change them.
Records the project brings with it
A project can carry records in its own files, and a publish writes them into the live app:
| Files | When a publish writes them |
|---|---|
app/content/<Model>.json | On every publish. The project’s copy wins, so edits made to these records in the live app are overwritten. Use it for content you manage in the project, such as menu items or FAQ entries. |
app/data/<Model>.json | Only while that model has no records in the live app. It is a starting set; your visitors’ records are never touched. |
To change content that lives in app/content/, change it in the project (ask
the agent) and publish, rather than editing the live record.
See also
- Data — data models, records, content and data files
- Visitor sign-in — who may read and change what
- Publishing your app