I need a little help from you regarding the usage of $().SPServices.SPUpdateMultipleListItems.
I have a document library with a bunch of subfolders (ID = ID of a contract)
VmVTGBibl/ID ID = SharePoint item ID of a contract
My files in this folder have e referenz field like VmVTGRef = ID of the contract.
After I had copied a bunch of files witch are important for the contract to the folder they don’t have a reference to the contract.
Witch I would like to show them with Alexander Bautz vLookup for Sharepoint.
I want do the following with $().SPServices.SPUpdateMultipleListItems
Update every field VmVTGRef with the contract ID (VmVTGBibl/ID) of the subfolder.
camlQuery = "<Query>" +
"<Neq><FieldRef Name='VmVTGRef'/><Value Type='Text'>" + folderName + "</Value></Neq>" +
folderName = ID of the contract.
completefunc: function(xData, Status)
alert (functionName + ".Status: " + Status);
if (Status != "success")
if (debug) alert (functionName + ".xData.responseXML.xml: " + xData.responseXML.xml);
I don’t know how to update only the valuepairs with the ID of the contract = folderName.
But only those ID which are not assigned yet or assigned with a other value of VmVTGRef as the ID of the subfolder.
I need some help and I hope you can follow me. Maybe it’s simple but I can’t get it.