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
SoundarSoundar 

Csv File upload in visualforce page without Using Apex Class

create VF page for importing the excel sheet to Salesforce. 
 
Please don’t use the Apex and everything should in VF page.


Note: If CSV file having Id , it should update the old record's .
If don't have an Id it's should create a new record in salesforce.


Thanks In Advance.
Nagendra ChinchinadaNagendra Chinchinada
Hi Soundar,
There is no standard functionality in VF for this, without using Apex.
One way to import data without using Apex, and data loader is Data Import Wizard  in setup.From your VF page give a link to navigate to Data Import Wizard page( /ui/setup/dataimporter/DataImporterAdminLandingPage ) and there user can import CSV files. Make sure user must have required permissions to view stup, Import Wizard. 
I didn't try and test this, but hope it would work. Try it and let me know if it works.

https://help.salesforce.com/articleView?id=import_with_data_import_wizard.htm&language=en_US&type=0

Thanks,
Nagendra Prasad
SoundarSoundar

Hi Nagendra Prasad,

Thanks for your quick response, i will check and confirm you ASAP . 

Note: I have another one doubt also , can we use Jquery or javaScript to Achieve above Process.

Thanks a lot.

SoundarSoundar
Hi Nagendra prasad,

yeah data Import Wizard Is the best way to import records, but My requirement is develop new data Uploader in visualforce Page. I will refer the above link you were sent (by using Java Script) . And Contact You ASAP.

Thanks a lot friend ...