+ Start a Discussion
prasanth kumarprasanth kumar 

how to insert new accounts and contacts using apex data loader

could  any one help me for my senario, i got a situation where i need to upload new account and contacts using data loader, please help, thanks in advance. 
Abhishek BansalAbhishek Bansal
Hi Prasanth,

In order to load data through data loader you must follow below steps :
  1. You should have a CSV file which contains the data which is to be loaded in your org through data loader.
  2. Master data such as Account should be inserted first than the child data such as Contact.
You can find more help on the link given below :
https://help.salesforce.com/apex/HTViewHelpDoc?id=inserting_updating_or_deleting_data.htm&language=en (https://help.salesforce.com/apex/HTViewHelpDoc?id=inserting_updating_or_deleting_data.htm&language=en)

prasanth kumarprasanth kumar
in one interview a person asked me this question,  How will u do this in single step accounts+cotnacts ?                Thank you very much for reply dude
Abhishek BansalAbhishek Bansal
Fine Prasanth,

It is impossible to insert data of two obejcts at a single time with data loader.
If you do not have any further queries on it than please close this question by marking it as SOLVED.
That will avoid the confusion to others and will help in saving their time.

Samir Awuapara CardenasSamir Awuapara Cardenas
Hi Prasanth,

Your interviewer was probably looking for you to answer using the Import Wizard.

See:Import My Organization’s Accounts and Contacts (https://help.salesforce.com/apex/HTViewHelpDoc?id=import_my_organizations_accounts_and_contacts.htm)
Jeanne BuschJeanne Busch
Except the Import Wizard has lots of other problems, including the inability to accept CSV files that it should be able to accept. 
Imran Mohammed 61Imran Mohammed 61
I have a question.
If there are 10 records in a csv file. And we are trying to insert the data using Data Loader. First 6 records were inserted and suddenly I have stopped the operation. Now again I need to insert from Seventh record as first 6 are already inserted.
Can I acheive in Data Loader using only "Insert"? (Without Upsert, Update and any other format)
Please, any help?