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

Closed Unassigned: Are there item limits on $().SPServices.SPUpdateMultipleListItems? [10160]

$
0
0
Is there an item limit when using the $().SPServices.SPUpdateMultipleListItems code? I am running two $().SPServices.SPUpdateMultipleListItems scripts one after the other based on an if/then statement. The second $().SPServices.SPUpdateMultipleListItems runs perfectly; however, the first does not run. Ive reversed the order and the same one works while the other does not, and the only thing I can think of is there may be an item limit on the number of list items you can update using $().SPServices.SPUpdateMultipleListItems. Below are the two scripts Im currently using and there respective item count.

1 list item to update - works as desired
$().SPServices.SPUpdateMultipleListItems({
listName: "Data Refresh Tracker",
CAMLQuery: "<Query><Where><Eq><FieldRef Name='Title' /><Value Type='text'>"+PDEList+"</Value></Eq></Where></Query>",
valuepairs: [["Refresh_x0020_Date", currentdate]]
});

150+ list items to update - does not work
$().SPServices.SPUpdateMultipleListItems({
listName: "Process Design Engagement and Intake",
CAMLQuery: "<Query><Where><Eq><FieldRef Name='stringFormStatus' /><Value Type='text'>Active</Value></Eq></Where></Query>",
valuepairs: [["CurrentDate", currentdate]]
});

I appreciate any help you may provide.
Comments: Questions like this are best posted in the Discussions, as it's not an issue per se, but a question about how the function works. There are no hard limits, but the function builds the batch for the update rather simplistically. If it isn't working for you, I'd suggest that you clone the code and create your own logic. M.

Viewing all articles
Browse latest Browse all 6517

Trending Articles



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