flow
This is a guided version of the create menu. To start the flow, a create menu is required, as well as the configuration below. The attributes can be divided across several pages and also organized into sections. All attribute functionalities are available, e.g., validation, attributeControl, and input support. If an attribute is required
, you cannot proceed to the next page unless it is filled in. To upload a photo, "documents": true
can be set. This requires an additional documents configuration (see documents).
create |
|
|
title |
Title of the flow. Displayed in the top toolbar |
string |
pages |
A series of pages. At least one page is required. |
array |
pages |
|
|
title |
Title of the page. Displayed in the overview and at the top of the attributes for this page. |
string |
description |
A description or instructions for filling in the attributes can be provided here. |
string |
icon |
The icon is displayed directly next to the page title. |
string |
documents |
If true, a button to start the camera is displayed. Requires a documents configuration. |
boolean |
attributes |
Specify the attributes to be displayed on this page. The configuration from attributes can be overwritten here. |
array |
"flow": {
"create": {
"title": "Flow",
"pages": [
{
"label": "Page One",
"description": "Description of page one",
"icon":"icon-engine",
"attributes": [
{
"name": "DESCRIPTION",
"section": "Section One"
},
{
"name": "DESCRIPTION_LONGDESCRIPTION",
"section": "Section Two",
"requiered": true
}
]
}
{
"label": "Page Two",
"description": "Description of page two",
"icon":"icon-ghost",
"attributes": [
{
"name": "ASSETNUM"
},
{
"name": "LOCATION"
}
],
"documents": true
}
]
}
}