Re: Using %SourceFileName% with custom adapter

Home Page Forums BizTalk 2004 – BizTalk 2010 Using %SourceFileName% with custom adapter Re: Using %SourceFileName% with custom adapter

#16343

You need to promote the file name into the FILE.ReceivedFileName property in the message context. You can do this in the adapter  after you create the IBaseMessage.  Call the IBaseMessage.Context.Promote() method.

Details on the FILE.ReceivedFileName can be found in the property schema C:\Program Files\Microsoft BizTalk Server 2004\SDK\Include\bts-file-properties.xsd