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
AnonTestQuestAnonTestQuest 

How to batch upload to SF Content/Library?

We have a bunch of headshots of employees that we want to upload into our org. Can data loader do this? What would the best way to do this be?
NagaNaga (Salesforce Developers) 
Hi Anon,

Yes you can use Data Loader to bulk upload documents and links into libraries in Salesforce CRM Content. Before uploading documents or links, note the following:If you intend to upload via the Bulk API, verify that Upload Bulk API Batch as Zip File on the Settings | Settingspage is enabled.
When you upload a document from your local drive using Data Loader, you must specify the actual path in the VersionDataand PathOnClient fields in the CSV file. VersionData identifies the location and extracts the format and PathOnClientidentifies the type of document being uploaded.
When you upload a link using the Data Loader, you must specify the URL in ContentUrl. Do not use PathOnClient or VersionData to upload links.
You can't export content using the Data Loader.

Please see the link below

https://help.salesforce.com/apex/HTViewHelpDoc?id=loader_content.htm

Best Regards
Naga Kiran