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
mwendlingmwendling 

Data loader insert Name field

I'm using the Apex Data Loader in batch mode to insert records into a custom object.
I want to set the Name field to the same value that is in my DB, but SForce seems to create each record and set its own generated value in the name field. Is this possible?
benjasikbenjasik
this is an option when you setup the custom object.  Sounds like you have it set to auto number, but you can say it's a text field that you have to populate
mwendlingmwendling
Unfortunately that is not the problem as the custom object already has the field set to Text.
SuperfellSuperfell
Then, you just need to supply a mapping to the name field.