admCloneSpace

admCloneSpace

Syntax

admCloneSpace(sourceSpaceKey, targetSpaceKey, targetSpaceName, targetSpaceDescription, cloneCategories, clonePermissions, cloneLabels, cloneComments, cloneAttachments, cloneMetadata)

Package

Alias

Pkg Usage

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

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.