Tool Reference
DuplicateItem
Make a copy of a document (including a task) or a database, owned by the user, as the Duplicate action in the app does.
Starter documentation. Features and account details may differ from this deployment.
DuplicateItem
Make a copy of a document (including a task) or a database, owned by the user, as the Duplicate action in the app does. A database copy has every table, column, view and row, except relation columns into other databases the user cannot view, which it leaves out; its sharing, forms and history stay with the original. Requires view access to the original. Returns the copy's id.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
entityType | "document" | "database" | Yes | The kind of item to duplicate. |
entityId | string | Yes | The id of the item to duplicate. |
name | string | No | Name for the copy. Omit to use "<original name> copy". |