Table plus | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
|
Description
Excerpt | ||
---|---|---|
| ||
Clones space with pages, labels, categories, attachments, permissions and look and feel. |
Clones space with pages, labels, categories, attachments, permissions and look and feel.
Parameters
...
applyColStyleToCell | true |
---|---|
columnTypes | s,s,s,s |
heading | 0 |
multiple | false |
enableSorting | false |
...
Parameter name
...
Type
...
Required
...
Description
...
source space key
...
String
...
Yes
...
Space key of the space to be cloned.
...
target space key
...
String
...
Yes
...
Space key of the new space.
...
target space name
...
String
...
Yes
...
Space name of the new space.
...
target space description
...
String
...
Yes
...
Description for the new space.
...
clone categories
...
Boolean
...
Yes
...
Should space categories be cloned, true/false.
...
clone permissions
...
Boolean
...
Yes
...
Should space permissions be cloned, true/false.
...
clone labels
...
Boolean
...
Yes
...
Should page labels be cloned, true/false.
...
clone comments
...
Boolean
...
Yes
...
Should page comments be cloned, true/false.
...
clone attachments
...
Boolean
...
Yes
...
Should page attachments be cloned, true/false.
...
clone metadata
...
Boolean
...
Yes
...
.
Return Type
Boolean (true/false)
...
Code Block | ||
---|---|---|
| ||
string sourceSpaceKey = "TST"; string targetSpaceKey = "NEWTST"; string targetSpaceName = "New Test Space"; string targetSpaceDescription = "This space was cloned from the Test space"; boolean cloneCategories = true; boolean clonePermissions = true; boolean cloneLabels = true; boolean cloneComments = true; boolean cloneAttachments = true; boolean cloneMetadata = true; return admCloneSpace(sourceSpaceKey, targetSpaceKey, targetSpaceName, targetSpaceDescription, cloneCategories, clonePermissions, cloneLabels, cloneComments, cloneAttachments, cloneMetadata); |
See also
Filter by label (Content by label) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|