Data Object
Data Objects are reusable option sets that can be referenced by Choice fields. Instead of manually entering options for each field, create a Data Object and share it across your project.
Go to Interface → Data Object in the top navigation.
When to use
- Consistency — Maintain a single source of truth for dropdown options
- Efficiency — Update options in one place and changes reflect everywhere
- Organization — Keep option lists separate from field configuration
Data object list
The list displays all Data Objects in your project:
| Column | Description |
|---|---|
| Name | Identifier for the Data Object |
| Project | The project this Data Object belongs to |
| Data Type | Type of data stored. Supports select. |
| Action | Edit or Delete the Data Object |
Creating a data object
- Click Add Data Object.
- In the Name field, enter a name for your Data Object (for example,
orderStatuses,paymentMethods). - Open the Data Type dropdown and select select.
- In the Options field, enter your options as a JSON array.
- Click Save.
Options format
For select type Data Objects, provide a JSON array of objects with value and label properties:
[
{ "value": "pending", "label": "Pending" },
{ "value": "approved", "label": "Approved" },
{ "value": "rejected", "label": "Rejected" }
]
| Property | Type | Description |
|---|---|---|
value | string | The stored value (used in backend logic) |
label | string | The display text (shown in dropdowns) |
Click Format to auto-format your JSON for readability.
Using data objects in fields
- Go to Collections → select your collection → Fields.
- Add or edit a Choice field.
- Turn on Use Data Object.
- Select your Data Object from the dropdown.
The field pulls its options from the Data Object instead of using manually entered values.
Editing a data object
- Click the Edit button next to the Data Object.
- Update the name, data type, or options.
- Click Save.
Changes to a Data Object immediately affect all fields that reference it. Review dependent fields before making updates.
Deleting a data object
- Click the Delete button next to the Data Object.
- Confirm the deletion.
Deleting a Data Object will break any Choice fields that reference it. Update those fields to use manual options or a different Data Object before deleting.
Related
- Choice Field — Use Data Objects in dropdown fields
- Collections — Define your data structure