You need to sign in to do that
Don't have an account?
Sachin Patil 57
Parse CSV fields in vf and map it to the respective sobject fields
I need to read header column of csv file and those fileds i have to display in vf page.
And those filed i shuld be able to map with the salesforce object . After mapping, insert/update the csv record data into object.
We can get the fields of sobjects by the schema.descrime method. But I am not getting idea to map the csv fields to the sobject fields.
Please someone help me in getting some idea how to get the header columns from the excel and insert into objects
And those filed i shuld be able to map with the salesforce object . After mapping, insert/update the csv record data into object.
We can get the fields of sobjects by the schema.descrime method. But I am not getting idea to map the csv fields to the sobject fields.
Please someone help me in getting some idea how to get the header columns from the excel and insert into objects
https://ericsantiago.com/2011/03/25/upload-and-parse-csv-via-visualforce/
https://howtodoitinsalesforce.blogspot.com/2017/01/import-csv-file-in-salesforce-using.html
http://www.saaspie.com/reading-csv-file-in-apex/
http://sfdcsrini.blogspot.com/2014/04/how-to-read-csv-file-from-apex_17.html
https://blogs.absyz.com/2017/01/13/csv-parsing-to-sobjects/
http://www.sfdcpoint.com/salesforce/import-csv-file-using-apex-visualforce/