Data field
Data fields are contract variables (also known as placeholders, custom fields, tags, etc.) that you can use in contract product tables, text and image, and form sections.
You can set the values for the data fields in a contract or at the template type level. The behavior of these two operations is different, so it is important to understand the difference. Please, see the Create a contract with data fields tutorial for more information.
Data field attributes
The table below displays all the attributes available for each data field:
Attribute | Type | Description |
---|---|---|
_links | Contains links to endpoints associated with this data field. See Data fields links. | |
active | Indicates whether the data field is active. | |
custom_id | A custom identifier you can use to address the data field through the API. Each | |
description | The description of the data field. | |
id | The ID of the data field. | |
name | A short descriptive name for the data field. | |
placeholder | Placeholder text displayed in the data field UI when the value is absent. | |
source | Indicates the source of the data field. See Source. | |
value | The value of the data field. See Value. |
Data fields links
The _links
object contains links to the endpoints associated with the data fields.
Attribute | Type | Description |
---|---|---|
template_type | The link to the |
Source
Source | Description |
---|---|
user | Indicates that the data field was created by a user either via the API or via the Oneflow application. |
system | Indicates that the data field was created and is used by one of the integration extensions. |
Note:
Data fields where
source=system
cannot be updated. An attempt to update such data fields will return a 200 OK response, but the attribute will not be updated.
Value
Input type | Description |
---|---|
checkbox | If the data field attribute value is |
Updated 7 months ago