Button handy |
---|
blank | true |
---|
color | #0052CC |
---|
name | Send Feedback |
---|
link | https://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=admAddPrioritiesToPriorityScheme+-+1182433734 |
---|
width | auto |
---|
|
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 | admAddPrioritiesToPriorityScheme(schemeName, priorityIdsOrNames) | Package | adm | Alias | | Pkg Usage | addPrioritiesToPriorityScheme(schemeName, priorityIdsOrNames) | |
Description
Excerpt |
---|
|
Adds priorities to a priority scheme. |
Adds the given list of priorities to the given priority scheme
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
schemeName | string | Yes | The name of the priority scheme | priorityIdsOrNames | string [] | Yes | The list of ids or names of the priorities to be added | |
Return Type
boolean
Returns true if the priorities were added, false otherwise.
Examples
Example 1
Adds priorities with ids 1 and 5 to the priority scheme named "Default priority scheme"
Code Block |
---|
|
admAddPrioritiesToPriorityScheme("Default priority scheme", {"1", "5"}); |
Example 2
Adds priorities with names "High" and "Medium" to the priority scheme named "Default priority scheme"
Code Block |
---|
|
admAddPrioritiesToPriorityScheme("Default priority scheme", {"High", "Medium"}); |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "priority_scheme_admin_routine" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|
We've encountered an issue exporting this macro. Please try exporting this page again later.