Edgardo Vega's Blog

Making it through the day one post at a time
posts - 167, comments - 28, trackbacks - 129

My Links

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.

Archives

Post Categories

Image Galleries

Auto-Subcribe to this blog

  • Subscribe with myFeedster
  • Add to My Yahoo!
  • Subscribe in NewsGator Online

Top 100 Feed Sites:

BizTalk Sharepoint Send Handler Macros

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();

Print | posted on Monday, November 01, 2004 2:05 PM |

Feedback

No comments posted yet.
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 

Powered by: