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
Pawan AglPawan Agl 

Insert records in Batch

Hi

Is there any one who can tell me how to insert records in batch using sforce api 4.0.

If possible please provide me example too.

Thanks

[Pawan Agarwal]

pawan.kumar@theikos.com

SuperfellSuperfell
The create call takes an array of SObjects, populate an array with the records you want to insert and pass it to the create call. (the records all need to be of the same type)
Pawan AglPawan Agl

Hi SimonF

Thank you so much.

It's working very much fine.

Thanks

[Pawan Agarwal]