Version:

MarketplaceSupport

Edition widgets

Edition Widgets are generally linked to a variable.

They will display the value of the variable, but they will also allow to user to interact and modify its value.

Edition Widgets


Edit

For string variables:

Edit {
 variable: pageVariable
 label: "Edit Example"
}

Edit


Combo

For string variables in a combobox. Here the values come from a list (static or dataset).

Combo {
 variable: selectedIdentityUid
 label: "Combo Example"
 options: Dynamic {
 data: sourceData
 text: Current fullname
 value: Current uid
 }
}

Combo


DateTime

For Date variables:

DateTime {
 variable: dateVariable
 type: Date
}

DateTime


Checkbox

For a boolean variable:

Checkbox {
 variable: booleanVariable
 label: "Checkbox Example"
}

Checkbox


RadioButtons

For limited options:

RadioButtons {
 variable: pageVariable
 label: "RadioButtons Example"
 Option {
 text: "Yes"
 value: 1
 }
 Option {
 text: "No"
 value: 0
 }
 Option {
 text: "Maybe"
 value: 3
 }
}

RadioButtons


Scale

For integer variables:

Scale {
 variable: pageVariable
 label: "Scale Example"
 minimum: 0
 maximum: 100
 increment: 10
 show-value: Right
}

Scale


Spinner

For integer variables:

Spinner {
 variable: pageVariable
 label: "Spinner Example"
 minimum: 0
 maximum: 100
 increment: 10
}

Spinner


MultiEdit

For multivalued variables :

MultiEdit {
 add-dialog: identityPicker returning outDisplayname
 buttons-presentation: Icon
 Element {
 variable: multivaluedVariable
 }
}

MultiEdit


Upload

To upload files:

Upload {
 variable: pageVariable
 hide-comment: True
 show-controls: True
}

Upload

IN THIS PAGE