CopyFolder
Copies an existing folder to a specified destination folder or workspace. History of sheet cells is not copied.
Stored Procedure-Specific Information
To execute this procedure, enter:EXEC CopyFolder FolderId='7960873767680900', DestinationId='5002803811772292', DestinationType='folder', NewName='CopiedFolder'
Input
| Name | Type | Required | Description |
| FolderId | String | True | The unique identifier of the source folder to be copied. |
| NewName | String | True | The desired name for the newly created copy of the folder. |
| DestinationType | String | True | Specifies the type of container where the folder will be copied.
The allowed values are folder, workspace. |
| DestinationId | String | True | The unique identifier of the destination container (folder or workspace). |
| Include | String | False | A comma-separated list of additional elements to include in the copy operation. Options include 'attachments', 'cellLinks', 'data', 'discussions', 'filters', 'forms', 'ruleRecipients' (must include 'rules'), 'rules', and 'shares'. |
| Exclude | String | False | A comma-separated list of elements to exclude. Options include 'sheetHyperlinks'. |
| SkipRemap | String | False | A comma-separated list of references to exclude from remapping in the new folder. Options include 'cellLinks', 'reports', 'sheetHyperlinks', and 'sights'. |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | Indicates whether the folder copy operation completed successfully. Returns 'true' for success and 'false' for failure. |
| Id | String | The unique identifier of the new folder created. |