You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

You can move selected elements from the main server project to a directly used project. The relations are also moved with the element(s).

Moving cannot be undone

This action cannot be undone as a new version is automatically created and committed to the Teamwork Cloud server after the selected elements are moved to a new location.

Permissions

To move the elements to other projects, you must have:


To move elements from the main server project to a used one


  1. In the Model Browser, select one or more elements.
  2. Right-click the selected elements. From the shortcut menu, choose RefactorMove Element(s) to Other Project
  3. The Move Elements dialog opens. Select a package or a classifier in the target project where you want to move the elements. You will see the classifier as a possible destination if only classifier elements are selected to move. Otherwise, only packages will be shown.

    Drag the selection

    You can drag and drop the selected elements to the target project package or classifier instead of using the shortcut menu. This action can be performed if the following conditions are met:

    • if the selected elements to move contain at least one non-classifier element, it is restricted to drop to other targets than packages.
    • if the selected elements to move contain only classifiers, moving is allowed to either packages or classifiers.
  4. Do one of the following:
      • Click Move to start moving elements or 
      • click Select More to specify your selection. The Select Elements dialog elements opens, in which you can:
        • add or remove some elements from a selection or
        • change the destination (click  at the end of the row). The Select destination dialog will list destination targets by the type of the element selected to move (i.e. if it is a classifier element, classifiers will be listed in the Tree and List tabs). Otherwise only packages will be listed.
      • Click OK when you are done.
  5. A notification appears, asking if you want to check dependencies among projects. Select Yes/No to continue moving elements. 

    If elements being moved from the source project to the target project are dependent on other elements that are NOT moved together, the necessary usages to used projects are created in the project these elements are moved to. This is being done with the intention of keeping all the dependencies valid.

  6. After you move the elements, new source project and target project versions are created and automatically committed to the server. Additionally, the used project is switched to the latest version.