Quick question for you here. So I'm trying to do a REST calculation on how many list items there are but the list only returns up to 1,000 entries at a time. I think I got a work around but how would I go about adding the two results?
$.getJSON("/_vti_bin/ListData.svc/MPIC?$select=Id&$inlinecount=allpages", function (data) {
$("#ALLCount1").text(data.d.results.length);
})
$.getJSON("/_vti_bin/ListData.svc/MPIC?$select=Id&$inlinecount=allpages&$skiptoken=1016", function (data) {
$("#ALLCount2").text(data.d.results.length);
})
Aucun commentaire:
Enregistrer un commentaire