Chapter 4 Using the Mapping Editor for Replications


Creating a mapping using the drag and drop feature

You can create a mapping by dragging an object icon from the Source pane and dropping it to the Target pane.

When the drop position is unauthorized a barred circle is displayed.

For a given mapping, the following results occur depending on the type of object you drag and where you drop it:

Source > Destination Result
Parent object > parent object Both parent objects are mapped together with their child objects if their name and code match. In the properties pane, an article is created for the mapping of the parents and also an article for each one of the child objects that matched.
Child object > child object Both child object are mapped together with their parent and this mapping (article) is added to the properties pane.
Child object or parent object > folder or model The child object or the parent object with its child objects are created in the appropriate folder in the target model and are mapped with their respective source objects. The corresponding mappings (publication and article) are added to the properties pane.

Steps To create a mapping using the drag and drop feature:

  1. Drag an object icon from the Source pane and drop it onto the appropriate object icon in the Target pane.

    A link is automatically created between the two objects to materialize the mapping and a small symbol is displayed on the source and the target objects icon. Besides, the mapping (publication, article or procedure) displays in the properties pane.

 


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