views:

31

answers:

0

I am writing UI for the SharePoint Message Board functionality using Silverlight and communicating via WSS with JavaScript/CAML.

I have the retrieval of Discussions and Messages working fine; however, I am having difficulty posting a reply to a Discussion or Message.

The AddDiscussionBoardItem method expects the List name and the Message to post...so my question is what exactly are those values?

My SharePoint Message Board is named Concepts and it contains a Discussion named General which has 2 Messages. If I am replying to the top level post (General) is my List name "Concepts"? What if I am replying to the 2nd level post? Since that is contained in the folder (General) what is my List name?

Additionally and more confusing, what exactly does AddDiscussionBoardItem want for the value of Message to post? It is expecting a type of Base64Binary, but what should it contain? I found some information that suggested that the value should be a MIME type...but if so what should it look like? How should it be formatted?

Please keep in mind that limitations on my project require that we are using WSS via JavaScript and not the SP objects in the code behind...besides, that'd be too easy!

Thanks much, John