Converting a submap into a local map

You can use the Graphical Data Mapping editor to change a submap into a local map by using the Refactor from submap function.

About this task

You can customize the logic of a submap in a graphical data map, without altering the submap logic, by converting the submap into a local map.

For example, you have a submap that contains common transformation logic that cannot be deleted. The submap is used by multiple graphical data maps. For one application, you need to specialize the submap, so rather than starting from scratch and creating a graphical data map, you can pull the submap logic into a main map by converting the submap to a local map. The action leaves the submap in place for ongoing use in other maps.

Procedure

To change a submap into local map, complete the following steps:

  1. Right-click the Submap transform in the graphical data map, and then select Refactor from submap.
    The following figure shows the menu that opens when you right-click the Submap transform:
    Refactor from Submap transform in the Graphical Data Mapping editor.
  2. Optional: Delete the map file corresponding to the submap that you have converted to a local map if the submap is not being used anywhere else in your solutions. For more information, see Deleting objects and transforms.

Results

A local map is created, containing all the mappings that were included in the original submap.

What to do next

Continue editing the graphical data map. For more information, see Editing message maps.