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

Need help in "Importing large CSV files via Batch Apex"

Hi All,


I need help in Importing large CSV files via Batch Apex. Tried this link --> .But I am unable to implement it.


Kindly help.

Dipa - Any reason why the apex data loader or the command line data loader does not help you with this requirement? This is a powerful tool to get large data into your system and can be scheduled using OS scheduling to ensure large data loads into Salesforce and supports all the data operations like insert/update/upsert/delete etc.

Hi Dipa, 


This task should be easily achieved by using data loader, have you already tried the same?

What is the total number of records in one csv file that you are working with?

See the link to choose the best possible method

If you have very large data you may also use Bulk API -





hi Dipa - were you able to solve this? I am working on a similar solution with the same blog post as my reference code - curious what you were able to create.