FileMask Macros in Biztalk
June 22, 2009, 2:41 pm
Filed under: Biztalk 2004, Biztalk 2006, Configuration, Examples | Tags: Adapter, BizTalk, Biztalk Server 2004, BizTalk Server 2006, Configuration, FileMask, Sendport, Tracking
Filed under: Biztalk 2004, Biztalk 2006, Configuration, Examples | Tags: Adapter, BizTalk, Biztalk Server 2004, BizTalk Server 2006, Configuration, FileMask, Sendport, Tracking
It’s possible to set the filename of a messages that your are going to send out in the orchestration. Just set the ‘ReceivedFileName’ context property of the outbound messages that you created.
This should look like this:
OutboundMessage(FILE.ReceivedFileName) = "TheNewFancyFileName.xml";
After this you have to set the filemask in the sendport to %SourceFileName% (it’s case sensitive). The %SourceFileName% macro does not need an additional extension (like .xml or .txt) after it like the %MessageId% macro. (more…)
2 Comments