Geeks With Blogs

News
MSN search
Technorati search

PDC'05 - Developer Powered

Disclaimer

This posting is provided "AS IS" with no warranties, and confers no rights of any kind. All opinions included here are mine and do not represent the opinions of my employer or any of its other employees.

Edgardo Vega's Blog Making it through the day one post at a time

I have been working with the Sharepoint Adapter from GotDotNet. I have been desperately trying to find a way for BizTalk to get a file from a location and then move it into Sharepoint with retaining the filename. Well if you are looking to do this you cannot. I was looking around HAT and saw that each message has message properties, with information that I could use. Lucky for me that if you are using the File and Sharepoint the way I am InboundTransportType=FILE and ReceivedFileName='the file name'. So you might be asking how you get to them, easy, the msg variable is already defined for you. Using msg, you can access all the message properties by using the following code:

msg.Message.Context.Read("ReceivedFileName", "http://schemas.microsoft.com/BizTalk/2003/file-properties").ToString();

Posted on Monday, November 1, 2004 2:05 PM | Back to top


Comments on this post: BizTalk Sharepoint Send Handler Macros

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Edgardo Vega | Powered by: GeeksWithBlogs.net