Specific Open Order input options

AccountSearchTextField

AccountSearchTextField is an input option for searching for a user or group.A text field with an additional search button is displayed. If the button is pressed a search dialog appears. The search result can be further processed in the form.

AccountSearchTextField can only be used in Open Order Templates.

Properties

Type

"Type": "AccountSearchTextField"

Label

The annotation of the search field displayed in the form.

LookupTableId

Identifies the lookup table from which the LDAP attributes from the search can be used in the template.

AttributesToLoad

A list of LDAP attributes to load, for example ["sn", "cn"].

Example

// Define search input

{

"Key": "Requester",

"Value": {

"Type": "AccountSearchTextField",

"Label": "Request for",

"LookupTableId": "RequesterSearchResult",

"AttributesToLoad": [

"sn",

"givenname"

]

}

},

// Use search results

{

"Key": "given name",

"Value": {

"Type": "TextField",

"Label": "given name",

"IsEnabled": "false",

"Constraints": {

"CreationRule": "<lookup>(RequesterSearchResult,givenname)"

}

}

},

{

"Key": "Surname",

"Value": {

"Type": "TextField",

"Label": "Surname",

"IsEnabled": "false",

"Constraints": {

"CreationRule": "<lookup>(RequesterSearchResult,sn)"

}

}

}

 

Radio Buttons

Radio is a group of radio buttons. You can only use radio buttons in Open Order Templates.

Properties

Type

For a group of radio buttons is the "Type": "Radio".

RadioGroupId

All radio buttons with the same id are grouped into one group. Within a group, only one radio button can be selected at a time.

Label

The value displayed in the form.

Value

The actual value that is stored.

IsChecked

Sets the initial selected radio button of a group.

Example

"Key": "ActionRadio1",

"Value": {

"Type": "Radio",

"RadioGroupId": "Group1",

"IsChecked": "true",

"Label": "Displayed value 1",

"Value": "Real value 1"

}

"Key": "

ActionRadio2",

"Value": {

"Type": "Radio",

"RadioGroupId": "Group1",

"Label": "Displayed value 2",

"Value": "Real value 2"

}