Google


Tuesday, August 22, 2006

Macros to create file names





When creating a file (send adapter), in the send port properties (See figure 2), you specify the type File in the transport properties and you choose configure to set the File Transaport properties (See figure 1). You wonder what the %MessageID% is in the file name text box,
BizTalk server has a predefined set of macros to create the file names generated. for instance, this %MessageID%.xml generates a file with a name as the Globally unique identifier (GUID) of the message in BizTalk Server. The value comes directly from the message context property BTS.MessageID.



A number of macros are available such as:
%datetime%, %DestinationParty%, %SourceFileName%, for the full list refer to the Microsoft BizTalk Server 2006 help.

*[If you think that you have valuable feedback to improve the contents of this blog, please leave it as a comment here]

0 Comments:

Post a Comment

<< Home