common-new-item-clone
Creates a new Sitecore item by copying a source item to a specified parent, optionally copying its entire branch.
Instructions
Creates a new item clone based on the item provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The ID of the item to be cloned. Supply this or path. | |
| full | No | Return the unprojected .NET object graph. Very large (100,000+ chars/item); diagnostics only. | |
| name | Yes | The name of the item clone. | |
| path | No | The path of the item to be cloned. Supply this or id. | |
| fields | No | Extra Sitecore field names to include, e.g. ['Title']. Ignored when full is true. | |
| recurse | No | Adds the parameter to clone the whole branch rather than a single item. | |
| database | No | Database to resolve an id against (default master). | |
| destination | Yes | The path of a parent item under which the clone should be created. |