[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details

Update Sharepoint List Items

Asked by LanBuddha in MS SharePoint, Web Services, .NET

Tags: Sharepoint webservices XML VB .Net

I have a small snippet of code that attaches to a Sharepoint list and loads a sharepoint list using webservices.

Dim listService As New WebReference.Lists()
Dim xmlDoc As New System.Xml.XmlDocument()
     
listService.Credentials = System.Net.CredentialCache.DefaultCredentials
listService.Url = "http://172.16.5.190/EPMI/_vti_bin/Lists.asmx"
Dim ndListView As System.Xml.XmlNode = listService.GetListAndView("Variance Approval Checklist", "")


I can pull the innerXML/outerXML  so I know I am reading the list, but I need help looping through each of the list items and updating several fields of each of the items. I understand I need to make a XML batch job, but I need to iterate through the items and get the IDs of each item. Looking for some example code on the iteration and updating the items.

Thanks
[+][-]11/08/09 12:37 AM, ID: 25769822Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/09/09 09:02 AM, ID: 25777767Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/09/09 12:26 PM, ID: 25779647Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091021-EE-VQP-81 - Hierarchy / EE_QW_3_20080625