Naming the lines in a Biztalk map


When using the Biztalk mapper, most often than not you would need to resort to functoids. When connecting the functoid inputs from the fields in the Source schema, we simply stretch a line from the field to the functiod. However, when we open the functoid to check the input parameter, it shows up as a long xpath string. When dealing with large maps this can very easily become cumbersome.

Alternatively, a better way is to label the line that you stretch to the functoid. So whenever you draw a line from any source field to the functoid. Just click the line and enter a meanigful name in the Label property in the Properties window. The next time you open the Input Parameters window for the functiod, you will see the line label instead of the cryptic xpath.

This surely will make life a bit easier when dealing with huge maps. Also, this can be one of the good coding practices.

Comments (2)

  1. BizWhisperer says:

    Naming the line is good for the first functiod connected directly to the source schema. However,when a functiod feeds another functoid, the name of the input to the second functoid is the first functoid, so name your functoids with meaningful names when they feed other functoids.

    Also remember the undocumented function for splitting your map across pages. Create the new page tab, then ctrl-click each functoid and line that complete a connection from the source schema to the destination schema, and then drag the group of items onto the new tab. This confuses people because they don't think about the fact that you can only drag a complete path; but once you get use to it, its a great way to reduce clutter.

  2. Sanket B says:

    True.

    Page tabs is another good but relatively less used feature in the Biztalk maps.

    Helps a lot with complicated maps.

Skip to main content