Overview
When you want to copy an existing application module, you don't need to do it manually. UDesigner 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.
Alternatively, you can use UDesigner's Application view to duplicate a module. Duplicated modules copy the JSON module definition, Module-Type, and more.
Copying a Module
To copy a module:
|
1.
|
In Application view, 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 . A pop-up displays at the bottom of the screen informing you the definition has been copied. |
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 . |
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. |
The ··· button displays above the component.
|
3.
|
Click ···. An options menu displays below the button. |
The JSON definition pastes into the module and the components display on the canvas.
If components do not display, you might not have a valid JSON definition in your clipboard.
You might need to approve access to the browser's clipboard data. A browser modal displays asking you to Approve or Deny the request.
Duplicating a Module
Duplicating a module creates a copy of the module definition and allows the Creator to modify addition fields such as Module-Type, Description, and Tags.
To duplicate a module from the Homepage or Workspaces view:
|
1.
|
Open an application containing the module you want to duplicate. |
|
2.
|
In the Application Element list, navigate to a module and click the ··· (ellipsis) button. |
The Duplicate Element displays.
|
4.
|
Update the Module Name and Module Path fields to a unique value. |
|
5.
|
(Optional) Update the Module Description, Module Type, and Tag fields as needed. |
|
6.
|
Click Duplicate. The modal closes and the Application Element list updates with the duplicated module. |
Resources
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 this article, you'll learn how to copy and paste module definitions in the Module Builder.
Copying a Module
To copy a module:
|
1.
|
In the Module Builder, 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 . |
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