Using FetchXml Retrieve more than 5000 records with XrmSvcToolkit in MS CRM
var pagingNo; var pageCookie = ""; var FetchXmlBuilder = function () { return { getPageCookie: function (a) { return a;//.replace(/</gi, "<").replace(/>/gi, ">").replace(/\"/gi, """) } } }(); var Bind_Results = new Array(); function xrmSvcTooltRequest() { var fetch = "<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false' page='" + pagingNo + "' count='5000' paging-cookie='" + pageCookie + "'>" + "<entity name='apy_jobpackagetasks'>" + "<attribute name='apy_jobpackagetasksid' />" + "<attribute name='apy_name' />" + ...