Versions Compared

Key

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

Syntax

admGetSpace(spaceKey)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue

Returns an instance of CSpace struct, takes a space key as a parameter.

Returns an instance of CSpace struct, takes a space key as a parameter.

...

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

Parameter name

Type

Required

Description

space key

String

Yes

Name of space to retrieve.

Return Type

CSpace

Returns the space properties using the predefined CSpace structure.

...

Code Block
languagejs
CSpace space = admGetSpace("TST");
runnerLog("Id: " + formatNumber(space.id, "####"));
runnerLog("Key: " + space.key);
runnerLog("Name: " + space.name);
runnerLog("Description: " + space.description);
runnerLog("Creator: " + space.creator);
runnerLog("Created: " + formatDate(space.created, "MM/dd/yyyy"));
runnerLog("Created: " + formatDate(space.updated, "MM/dd/yyyy"));

See also

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