Model-to-Model Mappings

You can create mappings in the Mapping Editor by drag and drop, or by using the Create Mapping tool or contextual command. You can select multiple objects and sub-objects in the Source pane using the Ctrl or Shift keys, but only one object in the Source pane.

To create a mapping, perform one of the following actions:
Note: If a mapping already exists between a source and target object, then dragging and dropping will reuse and add additional information to the existing mapping object, while using the Create Mapping tool or contextual command will create a second mapping object. Each mapping object is available in the Mapping list at the top of the Mappings pane.
Mappings can be created for combinations of source and target objects and sub-objects as follows: Mappings (including sub-object mappings) are always stored in target objects (for example, a mapping between a source CDM entity attribute and a target PDM table column will be stored in the table).
Note: In an XSM, elements can appear at any level in the hierarchy, and objects and sub-objects can be freely mapped to any element. Each element (whether parent, child, or grandchild) stores its own mappings, except in the case of elements bearing a complex type, where all mappings to any sub-elements are stored on the element bearing the type (though they are displayed on the sub-elements).

If you open the Mapping Editor with a source or target XSM containing shortcuts to complex types in a closed model, PowerDesigner will offer to open the model for you. If you choose not to open the model at this time, you can do so at any time by right-clicking a shortcut and selecting Open Model:

Shortcuts Closed Shortcuts Open