GUID in filename in sendport
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > GUID in filename in sendport




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

krishna is offline     GUID in filename in sendport  
krishna


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for krishna Click here to Send krishna a Private Message Find more posts by krishna Add krishna to your buddy list
 
04-29-04 06:53 PM

I need a GUID in the output file name that can also be accessed inside the o
rchestration.

I tried using %MessageID% in the output filename and then using BTS.MessageI
D in the orchestration. But the two GUIDs are not the same. This might be be
cause when a message is sent via SEND port, a copy of the message is being s
ent and hence it gets a unique, never before seen GUID.

Any ideas, workarounds ?

I need this functionality for the following scenario: When i receive a file 
X, I am trying to create a message that says "file X has been received and r
enamed to GUID-X". I want to rename files so that if a file is sent with the
 same name, it doesnt get overriden.




[ Post a follow-up to this message ]



    Re: GUID in filename in sendport  
Christof


Report This Message To A Moderator Edit/Delete Message


 
04-30-04 12:35 PM

You may set the "ReceivedFileName" property manually.  Your send port can
take that into account if you want it to.  (Use the macro for this.)

Kind regards,
Christof


"krishna" <krishna.15hoqu@mail.webservertalk.com> wrote in message
news:krishna.15hoqu@mail.webservertalk.com...
>
> I need a GUID in the output file name that can also be accessed inside
> the orchestration.
>
> I tried using %MessageID% in the output filename and then using
> BTS.MessageID in the orchestration. But the two GUIDs are not the same.
> This might be because when a message is sent via SEND port, a copy of
> the message is being sent and hence it gets a unique, never before seen
> GUID.
>
> Any ideas, workarounds ?
>
> I need this functionality for the following scenario: When i receive a
> file X, I am trying to create a message that says "file X has been
> received and renamed to GUID-X". I want to rename files so that if a
> file is sent with the same name, it doesnt get overriden.
>
>
>
> --
> krishna
> ------------------------------------------------------------------------
> Posted via http://www.webservertalk.com
> ------------------------------------------------------------------------
> View this thread: http://www.webservertalk.com/message204246.html
>







[ Post a follow-up to this message ]



krishna is offline     Re: Re: GUID in filename in sendport  
krishna


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for krishna Click here to Send krishna a Private Message Find more posts by krishna Add krishna to your buddy list
 
04-30-04 05:29 PM

Thanks Christof. That worked !!

quote:
Originally posted by Christof You may set the "ReceivedFileName" property manually. Your send port can take that into account if you want it to. (Use the macro for this.) Kind regards, Christof "krishna" <krishna.15hoqu@mail.webservertalk.com> wrote in message news:krishna.15hoqu@mail.webservertalk.com... > > I need a GUID in the output file name that can also be accessed inside > the orchestration. > > I tried using %MessageID% in the output filename and then using > BTS.MessageID in the orchestration. But the two GUIDs are not the same. > This might be because when a message is sent via SEND port, a copy of > the message is being sent and hence it gets a unique, never before seen > GUID. > > Any ideas, workarounds ? > > I need this functionality for the following scenario: When i receive a > file X, I am trying to create a message that says "file X has been > received and renamed to GUID-X". I want to rename files so that if a > file is sent with the same name, it doesnt get overriden. > > > > -- > krishna > ------------------------------------------------------------------------ > Posted via http://www.webservertalk.com > ------------------------------------------------------------------------ > View this thread: http://www.webservertalk.com/message204246.html >




[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:12 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register