Did you know (Mapping multiple schema nodes in one go using the "AutoLink By" property)

Most of you might have come across situations where you have to map a huge number of elements from the source schema to the target schema using the BizTalk Mapper.


There is an easy way to do this depending on your source and target schema structures.

 

Actually there are two scenarios where you can make use of this:
1. If your source and target schemas have an identical structure, or even if a part of your source schema and target schema have an identical structure.

2. If your source and target schemas have an identical node names, or even if a part of your source schema and target schema have an identical node names.

 

Here's how to do it:
1. Bring up your BizTalk mapping editor and load the source and target schemas

To Auto Map by Structure
2. Click on the grid surface of the map and in the properties window and set the "AutoLink By" property to "Structure" (which is actually the default value)

To Auto Map by Node Name
2. Click on the grid surface of the map and in the properties window and set the "AutoLink By" property to "Node Name"

3. Map the nodes by holding down the SHIFT key and drawing a line from the parent node of the source schema to the parent node in the target schema as shown in the figure below:

 

AutoLink By

 

Note that in our figure above, the node names as well as the structure is the same, so you could set the "AutoLink By" property to either "Structure" or "Node Names" in this case.

Benny Mathew
Seamless Integration Solutions
BizTalk Consulting, Development, Training
Bangalore, India
http://www.seamless.in
http://GeeksWithBlogs.net/benny