function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sfdcvirajsfdcviraj 

How to get custom object's records in tabular format to export in excel or csv format?

Need some expertise help in exporting data to excel or csv format on click of a button. This data will be of a particular record of an object. For eg, if I click export button of a particular one Accounts records, it must export it in a excel sheet. This is my plain requirement.

For this to achieve, we are using REST API to fetch custom object record.

Now that we are facing issue in getting response in proper format to JSON and then that record in to excel.

That would be a great help if assisted. Thanks.