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

admCreateSpace(spaceKey, spaceName, spaceDescription, user)

Package

Alias

admCreateSpace(cSpaceType)

Pkg Usage

Description

Excerpt
hiddentrue

Creates a new space, optionally offering support for the category of the space.

Creates a new space, optionally offering support for the category of the space.

...

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

Parameter name

Type

Required

Description

(Option 1) space key

String

Yes

Key of new space. Required if not using CSpace as the parameter.

(Option 1) space name

String

Yes

Name of new space. Required if not using CSpace as the parameter.

(Option 1) space description

String

Yes

Description for the new space. Required if not using CSpace as the parameter.

(Option 1) user

String

Yes

User who will be listed as the space creator. Required if not using CSpace as the parameter.

(Option 2) space type

CSpace

Yes

Predefined structure that defines the new space.

Return Type

Boolean (true/false)

...

Code Block
languagejs
CSpace newSpace;
newSpace.key = "TST";
newSpace.name = "New Test Space";
newSpace.description = "New space create by Power Scripts";
newSpace.creator = "admin";
return admCreateSpace(newSpace);

See also

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