Versions Compared

Key

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

Syntax

admGetSpaceCategory(spaceKey, categoryName)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue
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).

Parameters

...

applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

...

Parameter name

...

Type

...

Required

...

Description

...

space key

...

String

...

Yes

...

Space key of space to retrieve category for.

...

category name

...

String

...

Yes

...

.

Return Type

CLabel

Returns a predefined structure of label properties.

...

Code Block
languagejs
CLabel category = admGetSpaceCategory("TST", "Products");
print(cat.name);

See also

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