Closed satishmehta closed 5 years ago
In Zoho-Js-Sdk, Function for getting all record of a module i.e getAllRecords() is only returning the data object in resolved promises. In some cases info object is also required which is containing per_page, page, count, etc.
ZOHO.CRM.API.getAllRecords({Entity:"Leads",sort_order:"asc",per_page:2,page:1}) .then(function(data){ console.log(data) })
In Xhr response we can see both the data,
Not getting info object in promise
Please provide both the data in resolved promise.
Kindly update to the latest version of the SDK
@Naresh28Babu Thanks.
Hye, can you please guide me how to get data to html and set in simple text
In Zoho-Js-Sdk, Function for getting all record of a module i.e getAllRecords() is only returning the data object in resolved promises. In some cases info object is also required which is containing per_page, page, count, etc.
ZOHO.CRM.API.getAllRecords({Entity:"Leads",sort_order:"asc",per_page:2,page:1}) .then(function(data){ console.log(data) })
In Xhr response we can see both the data,
Not getting info object in promise
Please provide both the data in resolved promise.