Quantcast
Viewing all articles
Browse latest Browse all 6517

New Post: SPUpdateMultipleListItems Item limit

@williamnevarez

Actually, it should be :) You can just copy/paste the function above (bulkupdate) and use it like this:
bulkUpdate({
    SPServicesOptions: {
        listName: "Anoucements"
    },
    updates: [
        "<Method ID='1' Cmd='Update'>" +
        "<Field Name='Title'>New Title Value</Field>" +
        "<Field Name='ID'>1234</Field>" +
        "</Method>"
     ]
})
.done(function(xData, status){
    
    alert("all updates done!");
    
})
.fail(function(xData, status){
    
    alert("Update failed.");
    
});
The other input parameters are documented above in the post right after the function I posted... They are:
    updates
    SPServicesOptions
    batchSize
Paul.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>