BizTalk Mapping Tips 02: Suppressing Nodes
Recently, I have been working on a project using BizTalk to translate
sales orders from a web store and import them into Dynamics AX. The DAX
schema has a number of optional nodes, but if some of these nodes are
present in an instance of the XML file, the system will fail to import
the sales order. The easiest way I have found to suppress these nodes is
to drag a boolean functoid onto the map, set its inputs to always be
false, and drag a link to nodes that you want to remove from the output
schema. For example, I use an Equals functoid and I set the two inputs
to 1 and 2. Since 1 will never equal 2, this will evaluate to false.
From there drag a link to each node you want to suppress, compile and
deploy your map.