Merging to Another Folder or Model

You can merge a model into another folder (or into another branch hierarchy) or to another model when you need to reuse some content.

Context

You can merge an existing model into another folder, branch or model provided you have a Write permission on the new location.

If the target folder or branch does not contain a model with the same type, a copy of the source model will be directly created. The created copy will contain the same objects as the original model but with new IDs (except for global IDs, that are preserved).

If the selected target folder or branch already contains a model with the same type and name or a model with a different name but with the same type and extensions, a merge window is displayed that lets you view the differences between the two models and decide to submit the result of the merge or review it.

One object in source model can only be matched with a single object of the same type in the target model.

Link objects can be merged if their source and destination objects match.

Merging a Model to Another Folder or Branch

Procedure

  1. Select the model you want to merge in the Repository Explorer, and select Start of the navigation pathMenu Next navigation step MergeEnd of the navigation path.
  2. In the Select Target Folder or Model window, select a folder or branch and click Select.
  3. If you selected a folder or branch that does not contain a model of the same type and name, the new model is created in target location.
  4. If you selected a folder or branch that already contains a model of the same type and name, a Merge Model window is displayed.

    The left pane of the window displays either source and target diagrams or a draft version of the target diagram (you can switch between both modes using the Compare View and Local Draft View tools in the top left of the window) and the right pane displays the object properties (you can use the Hide Properties and Show Properties tools).

  5. Review the differences between the two models (for more information about model comparison, see Comparing Model Versions).
  6. Click Submit to merge changes to the target model or click Review to apply modifications to target model and open it in Edit mode, ready to submit or publish.

Merging a Model Into Another Model

Procedure

  1. Select the model you want to merge in the Repository Explorer, and select Start of the navigation pathMenu Next navigation step MergeEnd of the navigation path.
  2. In the Select Target Folder or Model window, select a model of the same type and having the same extensions and click Select to display the Merge Model window.

    The left pane of the window displays either source and target diagrams or a draft version of the target diagram (you can switch between both modes using the Compare View and Local Draft View tools in the top left of the window) and the right pane displays the object properties (you can use the Hide Properties and Show Properties tools).

  3. Review the differences between the two models (for more information about model comparison, see Comparing Model Versions).
  4. Click Submit to merge changes to the target model or click Review to apply modifications to target model and open it in Edit mode, ready to submit or publish.

Merging a Folder Into Another Folder

You can merge the content of a folder to another folder. If a model or diagram in source folder does not have a model or diagram with the same name, code and type in the destination folder, it is considered as new and directly copied in the destination folder.

Procedure

  1. Select the folder you want to merge in the Repository Explorer, and select Start of the navigation pathMenu Next navigation step MergeEnd of the navigation path.
  2. In the Select Target Folder window, select a folder and click Select.

    The Merge Folder window is displayed. This dialog provides the list of models in source folder with following information:

    Property

    Description

    Source Folder

    Specify the name of current folder.

    Target Folder

    Specify the destination folder for the merge.

    Model Name/Location

    Specify the name and path of the source models to merge. All models are selected by default for the merge, but you can use the checkbox next to model name to exclude specific models.

    Status

    Specifies one of the following statuses:

    New: Does not exist on target folder, Update, Up-to-date: No changes to merge.

    Resolve Status

    Specifies one of the following resolve statuses:

    Resolved (changes are ready for submission)

    Unresolved (some changes need manual resolution)

    Action

    Manual Resolve action is available for documents that have an Unresolved resolve status and opens an merge dialog that lets you display the differences between source and target documents and choose between the source and target value for each conflict.

    The following actions are available for documents that have a Resolved resolve status:

    Manual Resolve to review the differences between source and target models in pending merge changelist and choose between the source and target value for each conflict.

    Compare with Initial Version to compare source and target models in pending merge changelist.

    Export to CSV to export the list of differences between the source and target document versions.

    Edit to open target model in pending merge changelist in Edit mode.

    Revert Changes to revert changes in source document version.

  3. Click the Auto Resolve button if the list contains conflicts and use the resolve actions if needed.
  4. Click Submit.

    The result of the merge is displayed in the target folder.