Re: Destination File Name in an Email body

Home Page Forums BizTalk 2004 – BizTalk 2010 Destination File Name in an Email body Re: Destination File Name in an Email body

#24910

Hi,

 

  One suggestion I have is:

1) Make your HTML send port dynamic (I assume it’s the SaveHTML port in the Port Surface in your diagram above), and use the FILE.ReceivedFileName context property of your initial message (assuming it’s ReceiveMessage) as part of your destination filename (make sure to parse out the “.xml” extension).

2) In an Expression shape before your HTML send port, you can do the following assignment (to dynamically configure your send port):

saveHTML(Microsoft.XLANGs.BaseTypes.Address) = “FILE://YourPath/YourFileName.html”;

   Where YourFileName is obtained from step 1.

   I hope this is a workable solution for you.

   Daniel.