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
Pankaj Singh 196Pankaj Singh 196 

How to Read an Excel file in Salesforce

1) I need to read the data from excel file, so that i could populate few important data out of it on the Salesforce UI..
2) I need to count number of columns in an Excel. So that i could put a validation that a file "should not have more and less than 20 columns".

Further, i need to convert Excel data into Json format.