Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Service Development | Working with Elements | Moving and Copying Elements
 
Moving and Copying Elements
 
Guidelines for Moving and Copying All Types of Elements
Guidelines for Moving and Copying Services
Guidelines for Copying Elements Between Servers
Notes for Moving and Copying Adapter Notifications and Related Elements
You can move or copy elements between packages and, in most cases, across servers. Before moving or copying elements, review the following guidelines and notes:
* Guidelines for Moving and Copying All Types of Elements
* Guidelines for Moving and Copying Services
* Guidelines for Copying Elements Between Servers
* Notes for Moving and Copying Adapter Notifications and Related Elements
* ACLs and Creating, Viewing, and Deleting Elements
*To move or copy elements
1. In the Package Navigator view, select the elements that you want to move or copy.
2. Do one of the following:
To...
Click...
Move the element
Edit > Cut.
Copy the element
Edit > Copy.
Tip:
You can cancel a cut action by pressing ESC.
3. If the elements you want to move or copy contain unsaved changes, Designer alerts you that you must first save the changes. Click OK to close the alert dialog box. Then, save the changes and repeat the move/copy action.
4. If you do not have Read access to the elements you are moving or copying, or Write access to the location you are moving/copying them to, Designer displays a message that identifies the elements that are preventing the action from completing successfully. Click OK and then either obtain the proper access from your system administrator or select only those elements to which you have proper access.
5. Select the location where you want to move or copy the elements.
6. Click Edit > Paste.
7. If the destination already contains an element with the same name as an element you are moving or copying, do one of the following:
*If you are moving the element, Designer alerts you that the element cannot be moved. Click OK to close the alert dialog box. Rename the element if desired and repeat the move action.
*If you are copying the element, Designer copies the element and appends a number to the name of the copied element. (For example, if you are copying a flow service named checkOrder2 to a destination that already contains a flow service with that name, Designer copies the service and names the copy checkOrder2_1.) Rename the element if desired.
For more information about renaming elements, see Renaming Elements.
8. If one of the elements you moved or copied is a Java service, perform the following as necessary:
*If you are moving or copying the Java service to a folder with other Java services that are system locked or locked by another user, Designer alerts you that the element cannot be moved/copied. Click OK and then ask the owner of the lock to remove the lock.
*If the Java service you are moving or copying contains a shared source that conflicts with the shared source of an existing Java service in the destination folder, Designer alerts you that there is a conflict. Click OK to use the destination folder’s shared source, or click Cancel to cancel the entire move action.
Note:
If no shared Java source conflict exists, Designer moves the Java service and its shared source to the destination folder. If a conflict does exist, you must re-specify the shared source in the copy of the service. Using the Designer Java Service Editor, you can copy the information from the Source tab of the original service to the Source tab of the copy. For more information about the Source tab of the Java Service Editor, see Source Tab
9. If you selected the Prompt before updating dependents when renaming/moving check box in the Package Navigator preferences and any dependent elements on the current server contain unsaved changes, Designer alerts you to save them. Select the elements and click OK to save the changes or Cancel to cancel the entire move or copy action.
10. If the Move and Rename Dependencies dialog box appears, do one of the following:
To...
Click...
Move the selected element and update references to dependent elements
Update Usages
Move the selected element in the Package Navigator view without updating references to dependent elements
Ignore Usages
Cancel the entire move action
Cancel
For more information about dependency safeguards, see Configuring Dependency Checking for Elements.
Tip:
You can also move elements by clicking and dragging them to their new location.