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
UshaUsha 

hii ...i want to insert 15000 account and 30000 contacts at a time how it is possible

Medhya MahajanMedhya Mahajan
Hi Usha,

Dataloader or dataloader.io are commonly used tools to inset bulk data , you can use them to fulfill your requirement.

See links for reference:
https://help.salesforce.com/HTViewSolution?id=000193902&language=en_US
https://success.salesforce.com/answers?id=90630000000gvmhAAA
https://success.salesforce.com/answers?id=90630000000hhsIAAQ

Please mark as solved if this helps.

Regards
Medhya Mahajan
nagendra 6989nagendra 6989
Hi usha,

Use any of following mass data import tools to add new contacts. I will prefer DataLoader if you are running Enterprise or unlimited edition. 

Data Management Tools:
Apex Data Loader - for Enterprise, Unlimited and Developer Editions:
http://wiki.developerforce.com/index.php/Apex_Data_Loader
 Informatica Data Loader - for Professional, Enterprise, Unlimited and Developer Editions:
http://appexchange.salesforce.com/listingDetail?listingId=a0N300000016cUTEAY
 Excel Connector - for Professional, Enterprise, Unlimited and Developer Editions:
http://wiki.developerforce.com/index.php/Force.com_Excel_Connector
 Workbench: 
https://workbench.developerforce.com/


OR


You must first prepare a csv file with the following columns;

For inserting Account Contact Roles:
- AccountId: The Id of the Account to which you are creating/assigning contact roles.
- ContactId: The id of the Contact to which you are assigning to the account via the role.
- Role: Valid role values for your organization can be found by navigating to Setup, Customize | Accounts | Contact Roles.
- IsPrimary: Specify whether the contact being assigned is designated as the primary contact for the account specified. Note: You can only specify 1 contact role as the primary for each account. If multiple primary contacts are specified in your import file for a given account the last row for a primary contact and account combination will determine the primary.

For inserting Opportunity Contact Roles:
- OpportunityId: The Id of the Opportunity to which you are creating/assigning contact roles.
- ContactId: The id of the Contact to which you are assigning to the account via the role.
- Role: Valid role values for your organization can be found by navigating to Setup, Customize | Opportunities | Contact Roles.
- IsPrimary: Whether the contact being assigned is designated as a primary contact for the opportunity specified. Specify TRUE for primary contacts or FALSE for non-primary contacts in your file. Note: You can only specify 1 contact role as the primary contact for each opportunity. If multiple primaries are specified in your import file, the last contact row designated as a primary for an opportunity will be set as the primary.

1. Log into the Apex Data Loader.

2. Select Insert.

3. Select "Show all Salesforce objects.

4. Select Account Contact Role or Opportunity Contact Role.

5. Select Browse and choose your file.

6. Click Next and you will be prompted for the number of records the file you selected contains, click ok.

7. Click "Create or Edit a Map" and "Auto-Match Fields to Columns". (If the fields don't auto map, drag and map accordingly)

8. Click OK and then click Next.

9. Click Browse and select the location you want your "success and error" files to download to.

10. Click Finish and choose Yes when prompted.


Mark it as solved(best answer) if it helps you.

Best Regards,
Nagendra.p
9848950830