admCloneSpace

Description

Clones space with pages, labels, categories, attachments, permissions and look and feel.

Return Type

Boolean (true/false)

Returns true if space, pages, labels, categories, attachments, and permissions are cloned successfully.

Example

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