Copy / Duplicate elements
Last updated
Last updated
To create a copy of an element all you need to do is go into the element you want to copy, click on the three-dotted button in the top right corner and click on Create Copy.
This will create an exact copy of your element, the only change that we do for you is to prepend "Copy of" to your element's name. After creating a copy you are also immediately navigated to the newly created copy.
Note that when you copy an element, all references that this element has to other elements will stay the same. So for example, if you copy a script that uses a dataset, both your original element and the copied element will point to the same dataset. Therefore, if you change the dataset, both your original script and the copied one may need to be changed.
Copying is available for the following elements:
Dashboards
Widgets
Scripts
Datasets
Automations
Duplicating an element is pretty similar to copying an element.
The main difference is that when you duplicate an element, all references that your element has to other elements will also get duplicated. For example, if you duplicate a script that uses a dataset, it will not only make a copy of your script but also of the used dataset. The same when duplicating a dashboard, it will not only create copies of all the widgets that are used in the dataset but also copies all datasets and scripts that are used inside the widgets.
This operation has to be carefully performed because it may overload the database depending on the element tree hierarchy complexity.
To duplicate an element, all you do is navigate to the element you want to duplicate, click on the three-dotted button in the top right corner and click on Duplicate tree.
After clicking on Duplicate tree we first take a look at all the references your element has behind the scenes and check if you have all the needed permissions and shares to create a duplicate.
If you don't, you will see an error message telling you exactly what permissions you are missing or what element you don't have access to because they are not shared with you.
If you have every permission to duplicate the element a modal window will open:
In this modal, you will be able to set a Postfix. This postfix will be appended to every element's name that will be created during the duplication.
In addition, you can also see a list of all the elements that will be created during the duplication. So in the example above where a script is getting duplicated, you can see that a new script and a new dataset will be created. Note that these names also include your selected Postfix.
When you are happy with your selection, click the OK button to duplicate the element. After successful duplication, you will be navigated to the newly duplicated element.
Duplicating is available for the following elements:
Dashboards
Widgets
Scripts