...
...
The use of this routine requires the Power Actions add-on be installed and licensed.
Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | BA_createUserPicker(label, defaultValue, isDisabled, isRequired, fieldDescription) | Package | poweraction | Alias | | Pkg Usage | createUserPicker(label, defaultValue, isDisabled, isRequired, fieldDescription) | |
Description
Excerpt |
---|
|
Creates a user picker. |
Creates a user picker.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
label | |
...
String | Yes | Field label. | defaultValue |
|
...
String | Yes | A default value or an empty string. If the default value is not a valid username, it will be discarded and an empty default value will be provided. | isDisabled |
|
...
...
No | Specifies whether the field is read-only or |
|
...
...
...
No | Specifies whether the field should be marked as required with a dark red asterisk. Note that marking the field as required does not add any validation. | fieldDescription |
|
...
...
No | A description of the field to be displayed immediately under the input box. |
|
Return
...
Type
None
The returned value has no meaning.
...
Example
Code Block |
---|
BA_createUserPicker("up 1", "admin", true, false, "description for up 1");
BA_createUserPicker("up 2", "", false, true, "description for up 2"); |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "pa_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|