Chapter 15 The Mapping Editor


Target pane

The Target pane displays the model where data is extracted. It is primarily displayed on the right in the Mapping Editor. However, the Target pane is displayed on the left pane in case of reverse mapping.

For more information about reverse mapping, see the "Understanding the Mapping Editor Dialog Box" section.

The following toolbar helps you manage mappings in the target model:

Tool Name Description

Properties Opens the property sheet of the selected target object.

Create Mapping Creates a mapping between selected source and target objects. The mapping is materialized by a link and the mapping details appear in the Mappings pane. The tool behavior depends on the two selected objects.

Delete Mappings Deletes all the mappings for the selected target object.

Filter Mappings Filters mappings to show:
All mappings
Only mappings of the selected object
Only mappings of the selected object and its child objects

Filter Objects Filters objects to show:
All objects
Only objects with mappings
Only objects without mappings

Find Target Object Finds an object in the Target pane and highlights it.

Create Mapping tool behavior

Depending on the selected objects in the Source and Target panes, using the Create Mapping tool can lead to diverse behaviors:

Selected source >target objects What happens...
Folder, model or child object > Parent object A selection dialog box opens to let you select an appropriate parent object in the source model.
Parent object > Parent object
Child object >Child object
Objects are automatically mapped together with their respective child objects if any when their name and code match.
Parent object > Child object A selection dialog box opens to let you select an appropriate child object from the selected parent in the source model.

For more information about parent and child objects, see the "Mapping Objects" section.

Mapping deletion and object deletion in the Target pane

The following table lists how you can delete mappings and objects in the Target pane.

Type of deletion Short keys Contextual menu
Mapping deletion del key on a mapped object in the Target pane to delete the mapping with its source object in the Source pane Delete Mapping command
Object deletion shift+del combination key to delete a selected object in the Target pane Delete command

For mapping deletion, you can also use the Delete Mappings tool from the Target pane toolbar.

 


Copyright (C) 2006. Sybase Inc. All rights reserved.