I have a scenario where I need to update a list item, but I don't know the internal ID of the list item - hence the following won't work for me:
batchElement.InnerXml = "<Method ID='1' Cmd='Update'>" +
"<Field Name='ID'>" + id + "</Field>" +
"<Field Name='DeliveryStatus'>" + newStatus.ToString() + "</Field></Method>";
Instead I have another field in the list called ProcessID:
So I would like to update the delivery status where ProcessID = X
Is this possible using SharePoint web services.
One solution I was thinking of is to first do a select for the ID based on the ProcessID - then update based on this ID, but this seems like a crazy solution, surely the inventors of MOSS CAML would have provided a way to update a list item by some means of a where clause, or using another field for filtration rather than just plain old ID?
Thanks