BizTalk Server: Basics principles of Maps – Organizing Maps (Part 5)

  • Sandro Pereira
  • Apr 3, 2012
  • 3 min read

If you are dealing with large maps, they can become very complex and therefore very difficult to maintain and read.

BizTalk Mapper Design complex map

To minimize this problem, the BizTalk Server provides two main features to aid in the readability and maintainability of maps:

  • Grid Pages
  • Link Labels

📝 One-Minute Brief

This fifth part of the BizTalk Mapping series addresses the challenge of maintaining large, complex maps. Sandro highlights two essential but often overlooked features in the BizTalk Mapper: Grid Pages and Link Labels. By segmenting transformations into logical pages and replacing cryptic XPATH queries with friendly descriptive labels, developers can significantly improve map readability and long-term maintainability.

Grid Pages

You can segment groups of links into different grid pages. BizTalk allows to creation, removal, deletion, and ordering of grid pages. You can see this like different pages or segments of links of the map. By default, the map file is created with one grid page named “Page 1”. This feature has been described earlier.

BizTalk Mapper Design Grid Pages

Link Labels

In previous versions of the product, by default, The XPATH query is presented if a link from the source schema is established to a functoid:

/*[local-name()='PersonOrigin' and namespace-uri()='http://HowMapsWorks.PersonOrigin']/*[local-name()='FirstName' and namespace-uri()='']

Or it will show the name of the previous functoid if it’s linked from another functoid, which may make reading maps more difficult.

In BizTalk Server 2010, this behavior was slightly improved. Currently, the default value is the name of the element of the source schema from where the link comes:

BizTalk Mapper Design Functoid name element source schema

Or the name of the previous functoid:

BizTalk Mapper Design Functoid name previous functoid

However, the map editor allows us to label the links, replacing the XPATH query (in previous versions) or the name the elements of the source schema, with a friendly description, for this we need to:

  • Select the link to be labeled, right-click it, and select Properties.
  • Fill the Label property.
BizTalk Mapper Design link labeled

Usually, this feature is forgotten by developers.

Although it may seem a trivial feature and without significant impact, in my opinion, this is an important supporting map feature in the long term. While the ideas are fresh in our head we know what we are doing, but if it is necessary to intervene after some time and review the mappings, this feature will make our task easier.

Related links

For those looking to move beyond the basics of message transformation, I highly recommend checking out my eBook, BizTalk Mapping Patterns & Best Practices, published in partnership with BizTalk360.

This resource is a deep dive into the real-world challenges of data transformation. It covers:

  • Mapping Patterns: From simple field-to-field links to complex structural shifts.
  • Performance Optimization: How to build maps that don’t slow down your environment.
  • XSLT vs. Functoids: Knowing exactly when to use built-in tools and when to write custom code.

Whether you are maintaining a legacy BizTalk 2010 environment or planning a migration, these patterns are the foundation of clean, maintainable integration.

Download the full eBook here: BizTalk Mapping Patterns & Best Practices

Hope you find this helpful! If you liked the content or found it useful and would like to support me in writing more, consider buying (or helping to buy) a Star Wars Lego set for my son. 

Thanks for Buying me a coffe
Author: Sandro Pereira

Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc. He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community.

Leave a Reply

Your email address will not be published. Required fields are marked *

The Ultimate Cloud
Management Platform for Azure

Supercharge your Azure Cost Saving

Learn More
Turbo360 Widget

Back to Top