Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
Usage: cscript GetListItems.vbs “http://your server/site/_vti_bin/lists.asm“ “ListName”UpdateListItems.vbs is a script that update a list with fixed values, you can use this code to put in a form in Outlook to send form data to sharepoint. Only you need put your form data in sBath string. 1: sBatch = "" & _ 2: "Nuevo" & _ 3: "Software" & _ 4: "My Comment" & _ 5: "" 6: 7: Set connector = CreateObject("MSOSOAP.HttpConnector30") 8: connector.Property("EndPointURL") = "/_vti_bin/lists.asmx" 9: connector.Property("SoapAction") ="http://schemas.microsoft.com/sharepoint/soap/UpdateListItems"10: connector.Connect11: 12: Set serializer = CreateObject("MSOSoap.SoapSerializer30")13: with serializer14: .Init(connector.InputStream)15: .startEnvelope()16: .startBody()17: .StartElement "UpdateListItems", "http://schemas.microsoft.com/sharepoint/soap/"18: .StartElement "listName", "http://schemas.microsoft.com/sharepoint/soap/"19: .WriteString("")20: .EndElement()21: .StartElement "updates", "http://schemas.microsoft.com/sharepoint/soap/"22: .WriteXML(sBatch)23: .EndElement()24: .EndElement()25: .endBody()26: .endEnvelope()27: End With28: 29: connector.EndMessage()30: Set reader = CreateObject("MSOSOAP.SoapReader30")31: reader.Load(connector.OutputStream)32: Wscript.echo reader.Body.xml
Now I can use XPath to cross the data and pass them to outlook. I'm writing an application to sincronize any list from sharepoint to outlook.