|
Home > Archive > BizTalk Server Orchestration > February 2006 > Outgoing file name
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Outgoing file name
|
|
| Michael 2006-02-07, 5:59 pm |
| How in orchestration to get the outgoing file name for a message sent to File
Send Port and file mask as %MessageID%.xml ?
| |
| Neal Walters 2006-02-07, 8:47 pm |
| Not sure, but maybe you can generate your own filename, using dynamic ports,
i.e. generate your own GUID and set the filename in parentheses after the
messagename like this:
msgOrderCheckInventoryRequest(FILE.ReceivedFileName) =
strYourGeneratedFileName;
(It's a little weird that use use ReceiveFileName instead of SendFileName,
but did it a long time ago, and if I remember properly, it works).
Neal Walters
http://Biztalk-Training.com
| |
| Michael 2006-02-09, 5:59 pm |
| Thanks Neal, it seems to be the only way to do this. Once you set
FILE.ReceiveFileName you have to use macros %SourceFileName% in the send port
settings.
"Neal Walters" wrote:
> Not sure, but maybe you can generate your own filename, using dynamic ports,
> i.e. generate your own GUID and set the filename in parentheses after the
> messagename like this:
> msgOrderCheckInventoryRequest(FILE.ReceivedFileName) =
> strYourGeneratedFileName;
>
> (It's a little weird that use use ReceiveFileName instead of SendFileName,
> but did it a long time ago, and if I remember properly, it works).
>
>
>
> Neal Walters
> http://Biztalk-Training.com
>
|
|
|
|
|