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 | setLabels(pageId, labels []) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
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 |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
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 |
---|
|
setLabels(11801, ["my_page", "report", "active_status",]); |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "page_routines" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|