Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | admGetSpaceCategory(spaceKey, categoryName) | Package | | Alias | | Pkg Usage | |
|
Description
Excerpt |
---|
|
Returns a space category by name (takes a space key and space category as parameters). |
Returns a space category by name (takes a space key and space category as parameters).
...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
space key | String | Yes | Space key of space to retrieve category for. | category name | String | Yes | Name of the category to get details about. |
|
Return Type
CLabel
Returns a predefined structure of label properties.
...
Code Block |
---|
|
CLabel category = admGetSpaceCategory("TST", "Products");
print(cat.name); |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "admin_routines" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|