Skip to end of banner
Go to start of banner

admCloneSpace

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »

Description

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

Parameters

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

  • No labels