Pagination can only apply in Dynamic queries like as below.
// Set up paging
queryRun = new QueryRun(query);
queryRun.enablePositionPaging(true);
queryRun.addPageRange(_startPosition, _pageSize);
Kindly refer the below URL:
https://www.d365stuff.co/d365-custom-web-service-with-pagination/
No comments:
Post a Comment