Skip to content

Browsing & Importing Data ​

The Data page, under Manage in the app admin, is where you look at the records people have entered, and where you load a lot of records at once, such as a customer list you already keep in a spreadsheet.

Browse records ​

Pick a collection from the dropdown at the top and its records appear in a table, newest changes first, 25 to a page (you can change the page size at the bottom).

  • Your fields come first, in the order they are in the collection, followed by the app's own bookkeeping columns: id, owner (who created the record), updatedAt, created and updated.
  • Deleted records aren't shown. When someone deletes a record in the app it disappears from this list and from the count at the bottom, so you only see what people can still see.
  • Long values are shortened so the page stays fast: a photo or signature shows as [inline file, 12 KB], a long text is cut with its size, and a list shows as a count.
  • Click a row to open the whole record, with nothing cut.
  • The refresh button reloads the table.

This page is for looking. To change a record, open it in the app itself, so that the rules you've set (required fields, valid-if, roles) apply.

Import from a CSV or JSON file ​

Click Import, choose CSV or JSON, and drop a file on the box (or click it to browse). The dialog shows the expected shape for this collection first: the column names for CSV, or an example record for JSON. Use those names exactly, and the easiest way to start is to copy the example.

When the file has been read, the box says how many rows are ready. Click Import. You then see how many rows were imported and, for any that failed, the row number and the reason.

  • A bad row doesn't stop the others. Each row is checked and saved on its own, so a mistake on row 12 leaves rows 1 to 11 and 13 onwards imported. Fix the failed rows in your file and import just those again.
  • Up to 2,000 rows in one import. Split a bigger file into parts.
  • Values are checked against your fields. Numbers must be numbers, dates must be dates, an enum value must be one of the options, and a required field can't be blank.
  • Imported records belong to the app's admin account. That matters for roles that can only see their own records: they see an imported record only if it's assigned to them.

Naming records, and importing the same file twice ​

Give each row a short name of your own in a _key column (in JSON, "_key": "course-csc101"). Use letters, digits, _ and -. The same key always means the same record, so importing the file twice does not add its rows twice, and other rows or later files can point at the record by writing the same key, with no ids to look up. Or give an exact id column (15 lowercase letters and digits). Use one or the other, not both. With neither, the app makes the id, as before.

When a row's record already exists, a choice appears under the file: Leave it (the default: the row is skipped, so the same file can be imported again safely) or Update it (the row's columns are written over the record, which also brings back one that was deleted). The result then says how many rows were imported, updated and already there.

References ​

For a reference field, put the id of the record it points at. If customer points at Customers, write the id of that customer. Every record's id is in the id column on the Data page. An id is exact: two customers can share a name, but never an id. A row fails, with a message saying why, when no record has that id.

So import the referenced collection first (customers before orders), then copy the ids from the Data page into your orders file. Or, if you gave those customers a _key when you imported them, write the key in the reference cell instead: nothing to copy. A cell is matched as an id first, then as a key, then as a display value.

Files that carry the other record's display value instead (Ada Obi) still import: when a value isn't an id, it is matched against the display field. That match fails when no record matches, or when more than one does (two customers called Ada Obi). Use the id to avoid both.

A field that points at several records (a multi-select reference) takes a list of ids. In JSON write a list: "items": ["k3x9m2p7qa1b4cd", "p8w2n5r1tb7yq3m"]. In CSV put the ids in one cell, separated by semicolons: k3x9m2p7qa1b4cd; p8w2n5r1tb7yq3m. Here only ids work (a name could contain the separators), and the row fails, naming the id, if any one of them doesn't exist.

A several-choice field (a multi-select) takes the option values, not their labels: a JSON list "services": ["wash_fold", "iron"], or one CSV cell with the values separated by semicolons, wash_fold; iron. A row fails, listing the options, if any entry isn't one of them.

Locations and addresses ​

A location or address is several values. In JSON, write them as an object: "location": { "lat": 4.8156, "lng": 7.0498 } or "address": { "country": "Nigeria", "state": "Rivers", "city": "Port Harcourt" }. In CSV, use one column per part, named after the field: location.lat, location.lng, or address.country, address.state, address.city.

What the import leaves out ​

These can't be carried in a spreadsheet row, so the dialog lists them under Not imported:

  • Photos, files and signatures (they need the real file).
  • Tables, and lists that are worked out for you (complete lists, list fields).

Computed fields are listed there too: they're worked out automatically, so there's nothing to import. Add the others to records afterwards, in the app.

Write the rows with AI ​

When you don't have a file yet, choose Write with AI at the top of the Import dialog. Describe the data you want ("20 realistic courses for a university in Lagos"), set how many (up to 100), and press Write the rows. The rows are written to this collection's own fields and checked before you see them: a number is a number, a choice is one of your options, a reference points at a record that exists. You get a preview and a list of any rows that were left out and why. Nothing is saved until you press Import, and every row has a _key, so importing the result twice is safe.

It uses one AI request from your plan and can take a minute or two. It carries on if you close the dialog: open it again to pick up the result.

If other collections point at this one (a recipe's ingredients and steps), tick them under Also write, for each and say how many rows for each. The AI writes the parent rows first, then the rows that belong to them, and they are imported in that order, each attached to its parent. It reads what the parent rows say, so a question whose answer is D gets an option D. The whole run is still one AI request.

  • A run is limited to 50 parents, 20 rows for each of them, and 6 other collections.
  • Collections the new rows point at that are not part of the run (a unit, a category) need to have records already, or those rows fail the reference check.
  • A group of related rows that can't be written is reported and the rest carry on.

Released under no license yet — internal product, pre-launch.