Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

setLabels(pageId, labels [])

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
The routine receives the id of a page and an array of Strings, representing the names of the labels to be added to that page. All previous labels for page are removed.

The routine receives the id of a page and an array of Strings, representing the names of the labels to be added to that page. All previous labels for page are removed.

Parameters

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

Parameter name

Type

Required

Description

pageId

Number

Yes

ID of the selected page for which to set the labels.

labels

String []

Yes

Labels.

Return Type

Boolean (true/false)

Example

Code Block
languagejs
setLabels(11801, ["my_page", "report", "active_status",]);

See also

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