Table of contents

Cloning an Item

What does it mean to clone an item?

In the registry, you can clone an item. Cloning an item is the same as registering a new item, however the form is prefilled with the details of an existing record.

Cloning a dataset does not copy any dataset files. For more information, see the FAQ.

This enables you to quickly produce multiple records with similar contents.

This could be useful for producing similar Datasets or Dataset Templates, for example.

How to clone an item in the Registry

Required Permissions

To clone an item you need to be able to read the metadata of the item being cloned, and write to the Registry. In particular you need the following permissions:

  • Registry Write (general user permission)
  • Metadata Read (item specific permission)

Process

Start by exploring the registry to find the item you want, then view it’s details.

If you have the appropriate permissions, as mentioned above, you will see the ‘Clone Entity’ button appear in the top panel (1).

Clone Entity Button
drawing

Clicking the clone button will bring you to the registration form. From there, you can edit the pre-filled details and create the new item.

Clone Entity Form
drawing

FAQ

Can I clone a Dataset?

Datasets can be cloned, however the clone does not include any dataset files, only the metadata. To clone a dataset, click “View in Datastore” in the top buttons panel. The “Clone Dataset” button will appear in the same location as the Registry, if you have the required permissions.

Are the access settings cloned from the source item?

No, cloning an item is equivalent to creating a new item with existing details pre-filled. Any access settings applied to the source item will not be transferred to the destination item.

Is the history of the source item copied?

No, cloning an item is equivalent to creating a new item with existing details pre-filled. The history of the source item is not part of the history of the new item.

Does the Provena API support cloning?

No, cloning is not implemented for programmatic API use. Instead, you can fetch the contents of an existing record, modify them, and post the new item using the appropriate create endpoint.