04-06-04 11:39 PM
What you can do is to extract the desired filename out of the message data
inside a custom pipeline component. That component may use that value to
set the "ReceivedFileName" context property. If you configure your send
port correctly, it will use that value and take into account your specified
value...
Regards!
Christof
"Tanglesoft" <anonymous@discussions.microsoft.com> wrote in message
news:160b601c41bd9$49dba0c0$a601280a@phx
.gbl...
> Hi,
>
> In my Biztalk 2004 system I receive XML files and convert
> these to flat files using a map. I would like to name
> the flat files using an attribute that is contained in
> the original XML message.
>
> In the previous version of Biztalk I used a custom AIC
> component to change the file name after it had been
> through the map. I am a little confused as to where it
> is best to do this in BTS2004. If a create an
> orchestration I could use the map to convert the document
> then use a .NET component to write out the file and not
> rely on send port. If I don't want to use an
> orchestration I cannot see how I can rename the file
> because the map exists on the send port.
>
> Any help appreciated.
>
>
[ Post a follow-up to this message ]
|