Datasets
A dataset is the piece of data a template actually sees at render time. It follows a schema, and it is either filled by a mapping or edited by hand. You find datasets under Data → Datasets.
Two sources
- Manual — you enter the values directly in the dataset editor. No data source or mapping involved.
- Mapped — the dataset stores the output of a mapping over a data source. It is updated when you click Refresh (see Previewing and refreshing).
The Source column in the dataset list shows Manual, or the name of the mapping for a mapped dataset. The Data column shows the number of rows (list) or fields (object), or Empty.
Two shapes
The shape comes from the schema:
- Object — a single record.
- List — many rows. Only one row is on air at a time; the row selector in the control panel picks which.
What a dataset follows
A dataset's fields always come from its schema. Default values fill in missing fields, Conditional rules compute values, and Hide from input keeps fields out of data-entry forms. The schema does not block saving, though — Required is a reminder, not a check, so look over the data before it goes on air.
Who can edit
Everyone with access to the project can open the dataset editor. Admins and editors can also assign a dataset to a specific user, so that person can edit it from the Graphic Data page. See Dataset assignments.
Deleting a dataset
Click the trash icon in the list and confirm with Delete dataset. Production layers that used it are left without a dataset until you pick a new one.
Next
- Creating a dataset — make one from scratch.
- Manual vs mapped — when to use which.
- Filters, sort and row limit — shape a large source into a useful dataset.