CloneObject method
Clones root level objects, such as sheets and stories. The CloneObject method works for both app objects and child objects. When you clone an object that contains children, the children are cloned as well. If you for example want to clone a visualization, you must provide the qID of the root object, in this case the sheet since CloneObject clones root level objects.
It is not possible to clone a session object.
The identifier is set by the engine.
Parameters
| Name | Description | Mandatory | Type |
|---|---|---|---|
| qId | Identifier of the object to clone. The identifier must be a root object. |
Yes | String |
Returns
| Name | Description | Type |
|---|---|---|
| qCloneId | <identifier of the clone> |
String |