In the data view configuration, authors can allow end users to edit fields in a data view. Since data views only present the values of records stored in the underlying database, any changes made to the field's value will directly affect the corresponding value in the database.
This functionality mirrors the editing process for authors in the DATA MANAGEMENT tab within the database itself.
Editable fields can be activated for each data view separately. All editable fields are nullable, meaning fields can be reset to an empty value. Non-editable fields include Id
, Created at
, Last updated
, and any file type fields.
Once enabled, any end user with access to the data view can edit data view fields. For example, if the data view is set to authenticated, any logged-in end user will be able to make changes to editable fields.
How to enable editable fields in data views
If you want to enable end users to edit values presented in data view fields, follow the steps below:
- In your application, navigate to the Modules and data views section on your Build page and open a data view.
- In the CONFIGURATION tab, toggle on the option Enable end users to edit data.
- Save your changes.
Known limitations
- The fields
Id
,Created at
,Last updated
and file type fields are intentionally not editable. - Field values cannot be edited in the detailed view in the modal at this time.
Related articles
- Activate the change tracker in any database to monitor modifications made to the database itself or its records.
- Authors can configure end user access for data views and which records end users see in a data view.