Step Four: Create the Configuration File
- Make a copy of the process-conf.xml file from the\samples\conf directory. Be sure to maintain a copy of the original because it contains examples of other types of Data Loader processing such as upserts and exports.
-
Open the file in a text editor, and replace the contents with the following XML:
accountInsert job gets the account record from the CSV file and inserts it into Salesforce. - Modify the following parameters in the process-conf.xml file. For more information about the process configuration parameters, see Data Loader Process Configuration Parameters.sfdc.endpoint—Enter the URL of the Salesforce instance for your organization; for example,https://yourInstance.salesforce.com/.sfdc.username—Enter the username Data Loader uses to log in.sfdc.password—Enter the encrypted password value that you created in step 2.process.mappingFile—Enter the path and file name of the mapping file.dataAccess.Name—Enter the path and file name of the data file that contains the accounts that you want to import.sfdc.debugMessages—Currently set to true for troubleshooting. Set to false after your import is up and running.sfdc.debugMessagesFile—Enter the path and file name of the command line log file.process.outputSuccess—Enter the path and file name of the success log file.process.outputError—Enter the path and file name of the error log file.Warning Use caution when using different XML editors to editthe process-conf.xml file. Some editors add XML tags tothe beginning and end of the file, which causes the import to fail.
- sfdc.endpoint—Enter the URL of the Salesforce instance for your organization; for example,https://yourInstance.salesforce.com/.
- sfdc.username—Enter the username Data Loader uses to log in.
- sfdc.password—Enter the encrypted password value that you created in step 2.
- process.mappingFile—Enter the path and file name of the mapping file.
- dataAccess.Name—Enter the path and file name of the data file that contains the accounts that you want to import.
- sfdc.debugMessages—Currently set to true for troubleshooting. Set to false after your import is up and running.
- sfdc.debugMessagesFile—Enter the path and file name of the command line log file.
- process.outputSuccess—Enter the path and file name of the success log file.
- process.outputError—Enter the path and file name of the error log file.