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
Sean DarrSean Darr 

How to define record type in excel when adding new items into the Salesforce Data Loader

So I am trying to load new items from a sales rep into salesforce to create leads using the Data Loader however, I cannot get them to load into the correct record type? Thoughts?
Rajeev Pandey 8Rajeev Pandey 8
Hi, Record Type name is saved to RecordType.Name column for any SObject. Can you try to include as column in Excel If you know record type name of all records and try to import. 
Ravi Dutt SharmaRavi Dutt Sharma
Hi Sean,

Add a new column in your csv file called RecordTypeId and populate this column with the desired record type id. Let me know if you need more information. Thanks.