Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Button handy
blanktrue
color#0052CC
nameSend Feedback
linkhttps://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=admAddPrioritiesToPriorityScheme+-+1182433734
widthauto

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

admAddPrioritiesToPriorityScheme(schemeName, priorityIdsOrNames)

Package

adm

Alias

Pkg Usage

addPrioritiesToPriorityScheme(schemeName, priorityIdsOrNames)

Description

Excerpt
hiddentrue
Adds priorities to a priority scheme.

Adds the given list of priorities to the given priority scheme

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

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
languagejs
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
languagejs
admAddPrioritiesToPriorityScheme("Default priority scheme", {"High", "Medium"});

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "priority_scheme_admin_routine" and space = currentSpace ( )
labelsarray_routines

We've encountered an issue exporting this macro. Please try exporting this page again later.