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

New Post: Lists.GetListItemChangeSinceToken operation input parameters not defined

$
0
0
Hi Marc,
While looking into how GetListItemChangesSinceToken works, I found that it is not setup to accept CAMLQuery as one of the input parameters.. In looking at the source, looks like (perhaps?) you did not setup the input parameters as you intended (according to the documentation page)
Here is the snippet of code from v2013.01:

case "GetListItemChangesSinceToken":
    addToPayload(opt, ["listName", "viewName", "query", "viewFields", "rowLimit", "queryOptions", "changeToken", "contains"]);
    break;
The documentation states the input parameters to be (bold items are those that don't seem to be supported):
  • [webURL]
  • listName
  • viewName
  • CAMLQuery
  • CAMLViewFields
  • CAMLRowLimit
  • CAMLQueryOptions
  • changeToken
  • contains
I'm assuming this operation's input parameters should mirror closely what the GetListItems operation is defined as:
case "GetListItems":
    addToPayload(opt, ["listName", "viewName", ["query", "CAMLQuery"], ["viewFields", "CAMLViewFields"], ["rowLimit", "CAMLRowLimit"], ["queryOptions", "CAMLQueryOptions"]]);
    break;
(Plus the input parameters specific only to GetListItemChangeSinceToken).

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>