Configuring fields
Overview
Use fields to store and manage content in Dopt. In this guide, we’ll walk through how to configure fields and how to update values attached to those fields.
Adding fields
Add a new field by selecting the step block you would like to add the field to. In the panel for the step block, click the Fields tab and then click the Add field button.
Field identifiers cannot be updated after the field is created. Identifiers are also unique per step block so you can have the same identifier across step blocks.
Updating field configurations
Field configurations determine the shape of the field such as its type and default value. Configurations can only be updated while in the uncommitted version of a flow.
To update a field configuration, select the step block that contains the field you want to update. In the panel for the step block, click the Fields tab and then click the name of the field you want to configure.
Updating and deploying field values
Field values are what determine the content that a field stores.
To update a field value, select the step block that contains the field you want to update the value for. In the panel for the step block, click the Fields tab and then click the value of the field you want to update.
Each flow version stores its own collection of field values so they may differ between versions.
Once you are statisfied with the content changes you have made, you can click the Deploy changes button in the flow header to push your changes live for the flow version you are on.
Deploying changes is only necessary for numbered versions of a flow. Field value changes in the uncommitted version will be reflected immediately.
Deleting fields
Similar to updating configurations, fields can only be deleted while in the uncommitted version of a flow.
To delete a field, select the step block that contains the field you want to delete. In the panel for the step block, click the Fields tab and then click the name of the field you want to delete. In the Configure field modal that appears, click the Delete button at the bottom.
Deleted fields can’t be recovered directly, however, fields will always continue to exist in previous versions of the flow. You can always restore a flow version to recover a field.
Accessing fields
Fields can be accessed per step block via SDK. Learn more →
Fields cannot be accessed through blocks enumerated from an ordered or unordered group.