To create files using the Salesforce Data Loader, you will need to perform two tasks. First, insert records as the ‘ContentVersion’ and then insert ‘ContentDocumentLink’ to associate it to records.
| Warning Always back up your data before performing any data operation. See Export Backup Data from Salesforce or Export Data for more details. It is recommended to run a test with a small subset of records to ensure the operation was successful through manually opening and verifying that the corresponding records are correct in Salesforce. |
Use Data Loader to Export Data from the 'ContentVersion' object to get 'ContentDocumentId' for your newly created Files.
To see a sample input CSV, view this how-to video - How to Insert Files with Data Loader
Insert, Update, or Delete Data Using Data Loader
Rename exported attachments or document files
What is the difference between Salesforce Data Loader and DataLoader.io
Troubleshooting
Data Loader Stuck at Initializing Records
Common Error Messages in Data Loader
View the Data Loader Log File
000382372

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.