Geeks With Blogs
Dot Net Dunk Wandering in the land of .NET

Today's tip is brought to you via the BizTalk 2006 Deep Dive training course that I'm on, run by Alan Smith of the Bloggers' Guide to BizTalk fame..

In BizTalk 2004, if you wanted to create an empty output element in your target document via the mapper, you had a couple of options. You could either use a string concat functoid with one empty input parameter, or use a value mapper with 'true' and an empty string as its inputs. Bit tacky really, and in the case of a string concat also a bit slow as it uses inline C#.

Well rejoice, for in BizTalk 2006 there's a new drop-down option on the "Value" field of the mapper that lets you pick "".

Image Hosted by ImageShack.us

Lovely! Especially handy if you are using the little-known but amazingly handy Property Demotion technique to populate message fields on the way out.

Incidentally, further to the system context properties described in the link above, you can also demote your own promoted properties from your own custom schema back into your message in the send pipeline.

Posted on Tuesday, January 24, 2006 1:08 PM BizTalk Server , Solidsoft | Back to top


Comments on this post: Nice little BizTalk 2006 Mapper Feature

# re: Nice little BizTalk 2006 Mapper Feature
Requesting Gravatar...
Love that property!!! Sure beats using the scripting functoid to pass over “” to get the node to show up.
Left by Stephen W. Thomas on Jan 24, 2006 3:54 PM

# re: Nice little BizTalk 2006 Mapper Feature
Requesting Gravatar...
Your blog is great for anyone who wants to understand this subject more. Great stuff; please keep it up!
Left by Acai Berry Select on Oct 28, 2010 4:46 AM

# re: Nice little BizTalk 2006 Mapper Feature
Requesting Gravatar...

I’ve seen progression in every post. Your newer posts are simply wonderful compared to your posts in the past. Keep up the good work!
Left by Green Tea on Dec 26, 2010 11:04 PM

# re: Nice little BizTalk 2006 Mapper Feature
Requesting Gravatar...
I really like the fresh perpective you did on the issue. Really was not expecting that when I started off studying. Your concepts were easy to understand that I wondered why I never looked at it before.Glad to know that there’s an individual out there that definitely understands what he’s discussing. Great job
Left by Gevalia Coffee on Dec 27, 2010 8:29 PM

# re: Nice little BizTalk 2006 Mapper Feature
Requesting Gravatar...
Nice article.Thanks for sharing it with all.
Left by Gevalia Coffee Scam on Jan 28, 2011 3:48 AM

# re: Nice little BizTalk 2006 Mapper Feature
Requesting Gravatar...
Thanks for post such as very useful and very lovely post.....

Software Development Company : - Ampere Software, A leading commercial software application development company offering customized offshore software development and testing services with highly skilled developers and programmers.
Left by Nick on Dec 30, 2011 5:56 AM

Your comment:
 (will show your gravatar)
 


Copyright © Duncan Millard | Powered by: GeeksWithBlogs.net | Join free