Saturday 3 January 2015


$skip not working in REST API - SharePoint:


Hi,

In REST API, $skip is not working properly in some cases.

Omg, What we do now...!!!

Hey cool we have a solution to this problem.

Use the following service for $skip working.

"/_vti_bin/ListDat.svc/ListName?$skip=2&$top=1&$orderby=id"

Here Listname is your sharepoint list name.

Sample URI for ajax call:

"http://organiztion.sharepoint.com/sites/testSite/_vti_bin/ListData.svc/myList?$select=Id,Title&$filter=$orderby=id&$skip=2&$top=1"


If you use the above uri you can achive paging also in REST API.


I hope thils help you... :)