Info |
---|
|
This routine is available starting with SIL Engine™ 3.0.8. |
The use of this routine requires the Power Scripts for Jira 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 | gadget_getMultiValues(argv, label) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Retrieves the value from a multi select list or a checkbox group. |
Retrieves the value from a multi select list or a checkbox group.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
argv | String [] | Yes | |
...
The argv variable | label | String | Yes |
|
...
The label of the multi select list/checkbox group |
|
Return
...
Type
stringString []
Example
For a script that creates a multi select list like the following
Code Block |
---|
gadget_createMultiSelectList("Multiselect", {"a", "b", "c", "d", "e"}, {"a", "c", "e"}, true, "This field is required"); |
the The selected values may be obtained with the the gadget_getMultiValues routinegetMultiValues routine:
Code Block |
---|
string[] res = gadget_getMultiValues(argv, "Multiselect");
//res[0] = a
//res[1] = c
//res[2] = e
//The routine has returned in this case an array of three strings, "a", "c" and "e". |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 15025 |
---|
showSpace | false |
---|
cql | label = "jira_parametergadget_routine" and space = currentSpace ( ) |
---|
labels | jira_parameter_routinearray_routines |
---|
|
We've encountered an issue exporting this macro. Please try exporting this page again later.