The following instructions describe how to specify a message and
a database as the data source.
Right-click a node that supports mapping, such as the Mapping node,
and click Open Map.
Follow the on-screen instructions to complete the New
Map wizard:
On the Select the map type pane, ensure that input
message and database records are both selected.
On the Source and Target Mappables pane, select the
message as the data source; do not select the database at this stage.
When the wizard completes, in the Spreadsheet pane, right-click $target and
click Select Data Source.
In the Select Database as Mapping Source wizard,
select the database that you want to use and click Finish. A $db:select entry appears in the Spreadsheet
pane and the contents of the database table are displayed in the Source pane.
Expand the $db:select and for entries
in the Spreadsheet pane.
Right-click the message body entry in the
Spreadsheet pane and click Populate.
In the Populate wizard, select all the elements that you
want to create mappings for and click OK. This
populates the Spreadsheet pane with the selected elements from the Target
pane.
Right-click each of these elements and click Populate.
Select the elements to create mappings. Repeat this as many times
as necessary for each level of element until all of the information from the
Target pane appears in the Spreadsheet pane.