Properties
The following table gives an overview of configurable widget properties. Properties can be stored within the option table of the widget.
Type |
Property |
Default |
Example |
String |
popup |
false |
true |
|
Text widgets will be editable in a popup window instead of within the display field, if this option is set. |
|
|
String |
personalName |
false |
true |
|
Prefill the field with the personal Name setup in the mobile App. |
|
Type |
Property |
Default |
Example |
Slider |
versus |
true |
false |
|
The versus to the default amount is shown at the top of the slider. |
|
|
|
collapsible |
true |
false |
|
The slider is collapsible by default. |
|
|
|
max |
Undefined |
100 |
|
Value above this limit are not allowed. |
|
Type |
Property |
Default |
Example |
subUI |
inline |
false |
true |
|
By default, subUI values are stored as a child element in the Data element of the extra field of the itemsDelivered attachment. The name of the element is defined by the name of the subUI. |
|
Type |
Property |
Default |
Example |
datetime |
variant |
Undefined |
date |
|
By default, datetime widgets always show a date and time field. You may adapt the widget and reduce it to a date or time widget by specifying the variant option date or time . |
|
Type |
Property |
Default |
Example |
option |
sql |
Undefined |
select ct.id, ct.externalId as code, coalesce(ct.lastName, ct.externalId) as description from Contact ct JOIN Customer cs, Task t on ct.customer = cs.id where t.id = ? and cs.id = t.account |
|
An option widget may contain a property called sql , defining a database query used for the retrieval of the option list rather than defining a static list of option values. Note that the query must retrieve exactly three columns: the identifier , the code and the description of each option. |
|
Type |
Property |
Default |
Example |
option |
property:searchable |
false |
true |
|
An option widget may contain a property called searchable , displaying an editText to filter the option items. |
|
Type |
Property |
Default |
Example |
option |
property:searchableFillAll |
true |
false |
|
An option widget may contain a property called searchableFillAll . It works only when property:searchable is set to true . This property will display only the list based on the string typed in the editText. |
|
Type |
Property |
Default |
Example |
material |
property:spareParts |
Undefined |
true |
|
A material widget may contain a property called spareParts , indicating that the list of products for choosing an article must be limited to the spare parts of the product specified in the related itemsPlanned. |
|
Specific options for the remote
widget type can be found here.