1. To automatically match fields with columns, click Auto-Match Fields to Columns. The Data Loader populates the list at the bottom
of the window based on the similarity of field and column names. For a delete operation, automatic matching works only on the ID
field.
2. To manually match fields with columns, click and drag fields from the list of Salesforce fields at the top to the list of CSV column
header names at the bottom. For example, if you are inserting new Account records where your CSV file contains the names of new
accounts, click and drag the Name field to the right of the NAME column header field.
3. Optionally, click Save Mapping to save this mapping for future use. Specify a name for the SDL mapping file. If you select an existing
file, the export replaces its contents. To confirm the action, click Yes, or choose another file by clicking No.
4. Click OK to use your mapping for the current operation.
Insert, Update, or Delete Data Using Data Loader
USER PERMISSIONS
Create on the recordTo insert records:
Edit on the recordTo update records:
Create or Edit on the recordTo upsert records:
Delete on the recordTo delete records:
Delete on the recordTo hard delete records:
Modify All DataTo mass delete records:
Use the Data Loader wizards to add, modify, or delete records. The upsert wizard combines inserting and updating a record. If a record
in your file matches an existing record, the existing record is updated with the values in your file. If no match is found, a new record is
created. When you hard-delete records, the deleted records are not stored in the Recycle Bin and are eligible for deletion. For more
information, see Configure Data Loader.
1. To start Data Loader, double click the Data Loader icon on your Desktop or in your Applications folder.
2. Click Insert, Update, Upsert, Delete, or Hard Delete. These commands are also listed in the File menu.
3. Enter your Salesforce username and password. To log in, click Log in. When you are logged in, click Next. (Until you log out or close
the program, you are not asked to log in again.)
If your organization restricts IP addresses, logins from untrusted IPs are blocked until they’re activated. Salesforce automatically sends
you an activation email that you can use to log in. The email contains a security token that you add to the end of your password. For
example, if your password is mypassword, and your security token is XXXXXXXXXX, you must enter
mypasswordXXXXXXXXXX to log in.
4. Choose an object. For example, if you are inserting Account records, select Account. If your object name does not display in the
default list, select Show all objects to see a complete list of the objects that you can access. The objects are listed by localized label
name, with the developer name noted in parentheses.
Note: Data Loader deletes records based on the IDs in the CSV file, not the object selected.
5. To select your CSV file, click Browse. For example, if you are inserting Account records, you could specify a CSV file called
insertaccounts.csv containing a Name column for the names of the new accounts.
21
Insert, Update, or Delete Data Using Data LoaderUsing Data Loader