Default Values
The following table gives an overview of configurable default values.
Type | Default Value |
---|---|
datetime | onTheWay |
The timestamp of the onTheWay event will be pasted into the widget when entering the widget's Mobile UI for the first time. |
|
datetime | onSite |
The timestamp of the onSite event will be pasted into the widget when entering the widget's Mobile UI for the first time. |
|
datetime | travelTimeDuration |
The time between the onTheWay and the onSite event will be pasted into the widget when entering the widget's Mobile UI for the first time. |
|
datetime | now |
The timestamp of now will be pasted into the widget when entering the widget's Mobile UI for the first time. | |
datetime | onSiteDuration |
The time between the onSite event and the current time (now) will be pasted into the widget when entering the widget's Mobile UI for the first time. |
|
datetime | end |
In combination with an outline SubUI, this either results in the value of the previous DateTime widget with the name end , or in the onSite timestamp. |
In outline SubUIs, DateTime widgets of any name can provide the default-value for DateTime widgets in the next outline section of the SubUI. This is similar to the keyword end
, but without any alternative default-value, like the onSite
timestamp (see the description of end
in the table above).
Note that time picker uses the default dialog. To use a scrollable time picker, set the showScrollableTimePicker
to true.
showScrollableTimePicker | ||||
---|---|---|---|---|
Type | Default Value | Example | Android | HTML 5 |
Boolean | false | true | + | - |
When closing the task, a itemsDelivered
attachment is created for each itemsPlanned
entry. The values as specified by the Field Worker will be stored in the extra field of this itemsDelivered
attachment.
OMD Mobile will choose the mobile UI definition that matches with the value of the processFlow
field on the itemsPlanned
attachment. If the processFlow value is empty, the value of the mobile preference defaultAttachmentProcessFlow
is used. If this preference is undefined, the Field Worker is not able to provide additional information about the items delivered.
defaultAttachmentProcessFlow | ||||
---|---|---|---|---|
Type | Default Value | Example | Android | HTML 5 |
String | Undefined | Delivery | + | - |