BizTalk Gurus

Prepend and Append Text to SourceFileName Macro


08-01-2005

Downloads: 579
File size: 20.4kB
Views: 573
Prepend and Append Text to SourceFileName Macro

This sample shows how use the %SourceFileName% macro to append or prepend text to the original file name of the file received by the file adapter. This sample includes a helper class with three methods to help with string manipulation of the file name.

This uses an Orchestration to set the Received File Name Message Context Property that the SourceFileName Macro uses. 

This sample will work for BizTalk 2004 and BizTalk 2006.

Get more information from the original blog post on this topic: http://www.biztalkgurus.com/blogs/biztalk/archive/2005/08/01/How-To-Prepend-to-the-SourceFileName-in-BizTalk-Sample.aspx

Add a Comment

(required)
 
Spam Control: Type the word BIZTALK here:
(optional)
(required)