How to: Copy and Paste Module Definitions
Estimated Reading Time: 2 minutes
Overview
When you want to duplicate an existing application module, you don't need to do it manually. Unqork lets you copy the module definition of any module to your computer's . Then, you can paste the module definition into another module of your choosing. It's important to note that pasting a module definition into a module containing components doesn't delete the existing configuration.
What You'll Learn
In thisarticle, you'll learn how to copy and paste module definitions in the Module Editor.
Copying a Module
To copy a module:
|
1.
|
In the Module Editor, open the configured module you want to copy. |
|
2.
|
Click the ··· (ellipsis) button. |
|
3.
|
Select Copy Module Defintion. |
|
4.
|
The module definition copies to your . |
Pasting a Module
To paste a module:
|
1.
|
Open the module where you want to paste the copied module definition. |
|
2.
|
Click the ··· (ellipsis) button. |
|
3.
|
Select Paste Module Definition. A pop-up displays. |
|
4.
|
In the Module Definition field, press the Ctrl + V keys (PC) or Cmd + V keys (Mac) on your keyboard to paste the module definition from your . |
WARNING You can only paste valid Unqork . An error occurs if the format is incorrect.
When you paste a module to another module's canvas, the components display at the top of the canvas. To paste the module above a specific component on the canvas:
|
1.
|
Open the module where you want to paste the copied module definition. |
|
2.
|
Hover over the component where you want the copied module to display above. |
A 5-button toolbar displays above the component on hover-over.
|
3.
|
Hold the Ctrl key (PC) or the Cmd key (Mac) on your keyboard and click the (Paste) button. |
A modal displays for youto paste the JSON definition from your .
|
4.
|
Press the Ctrl + V keys (PC) or Cmd + V keys (Mac) on your keyboard to paste the contents from the to the Paste Content Here field. |
Resources