Quantcast
Channel: jQuery Library for SharePoint Web Services
Viewing all articles
Browse latest Browse all 6517

New Post: SPUpdateMultipleListItems Unable to update a specific list

$
0
0
I have a problem with a specific list not updating the items. I am able to run getlistitems on the same list.

I have tried guid and name for listname as it has a space in it.

This code below works on other lists by just changing the listname and field\values. Also, When I run this the status comes back as success.

Any suggestions as to where to look would be appreciated.

$(document).ready(function () {
    $().SPServices.SPUpdateMultipleListItems({
        listName: "{76B86750-1A68-44E7-93FF-823A1D7AA500}",
        CAMLQuery: "<Query><Where><Eq><FieldRef Name='Title'/><Value Type='Text'>Analytics</Value></Eq></Where></Query>",
        valuepairs: [["GoogleUA", "Frank"]],
        completefunc: function (xData, Status) {
            alert("Updated " + Status + xData);
        }
    });

});

Viewing all articles
Browse latest Browse all 6517

Trending Articles