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=admUpdatePriorityScheme+-+1182270289
widthauto

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

Syntax

admUpdatePriorityScheme(schemeId, name, defaultPriorityId, description)

Package

adm

Alias

Pkg Usage

updatePriorityScheme(schemeId, name, defaultPriorityId, description)

Description

Excerpt
hiddentrue
Updates a priority scheme.

The basic updated of a priority scheme, we only set the name, description and priorities. You can also alter the priorities and projects in it by using the according routines.

Parameters

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

Parameter name

Type

Required

Description

schemeId

number

Yes

The id of the priority scheme to be updated

name

string

Yes

The new name of the priority scheme. Must be unique

defaultPriorityId

number

Yes

The new id of the default priority for the priority scheme.

description

string

No

The new description of the priority scheme.

Return Type

boolean

Returns true if the scheme was updated, false otherwise.

Example

Example 1

Updates a priority scheme

Code Block
languagejs
admUpdatePriorityScheme(schId, "new name updated at " + currentDate(), 4, "description updated at " + currentDate());

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.