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 | admCreateSpace(spaceKey, spaceName, spaceDescription, user) | Package | | Alias | admCreateSpace(cSpaceType) | Pkg Usage | |
|
Description
Excerpt |
---|
|
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 |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
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 |
---|
|
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) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "admin_routines" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|