biztalk-mapper

BizTalk mapper and the [ThreadStatic] attribute

I've recently encountered an issue with the multi-threaded nature of the BizTalk Mapper and how it handles external assemblies. As this quote from MSDN indicates: Important Any code written in an external assembly for use in a scripting functoid needs to be thread safe. This is required because multiple instances of a map c...

BizTalk Map Incorrectly Parsing Input XML

I've got a situation where my BizTalk map is not extracting data from input XML correctly. The input schema looks like this: Sequence A B All 3 of those nodes on the XSD have min 0, max unbounded. So here's a sample input file fragment: <A>1</A> <B>hi</B> <A>2</A> <B>there</B> Now my map takes this data and calls stored pr...

Automatically truncate to MaxLength during mapping

I have a schema that has the max length property set on all of its elements, of various size. I am mapping to it and expect that the max length will be exceeded quite often. Is there a way tell BizTalk to automatically truncate without having to go in and manually configure a functoid for each element? Is there a purpose for the max ...

Biztalk maps: Grouping different nodes into a list

Hello, Is there a way of achieve the following transformation in the BT mapper? if not, any smart idea? <Person> <Age>25</Age> <Name>Paul</Name> </Person> to: <Person> <CustomProperties> <CustomProperty> <Name>Age</Name> <Value>25</VAlue> </CustomProperty> <CustomProperty> <Name>Name</Name> <Value>Paul</VAlue> </CustomProperty> </Cu...

Biztalk mapper: how to detect a node that do not come in the xml

Hello, I would like to know how to detect that a node is not present in the origin. I have tried hundreds of things with the logical functoids with no success. The third case of this page is what I am looking for: http://danshultz.blogspot.com/2007/08/logical-existence-isnil-empty-string.html Thanks in advance. ...

Biztalk Script Functoid help

I am new to biztalk and am looking for an example of how to use a vb.net mid function in a scripting functoid. ...

Biztalk xml file to a flatfile format

Hi, Relatively new to Biztalk; I could use seasoned help. I'm faced with having to try to map a source XML document to a flat-file TAB delimted destination. My source document has some nested nodes that I need to iterate through and translate them each as a row on the flat-file document; classic sales order header/detail relationship....

BizTalk Mapping

I need to convert the input xml to output as shown below Input <root> <MOD_FACTOR>10</MOD_FACTOR> <X_MOD_FACTOR>20</X_MOD_FACTOR> </root> Ouput ------ <root> <Data> <Name> MOD_FACTOR</Name> <Value>10</Value> </Data> <Data> <Name>X_MOD_FAC...