Loading

Mass grant Collaborator permission of Salesforce Files to a User or group via Data Loader

Дата публикации: Jun 14, 2026
Описание

Salesforce Files (ContentDocument) supports granular sharing permissions including Collaborator access, which grants users the ability to edit, upload new versions, and manage file settings. To grant Collaborator permission to multiple users or Chatter groups simultaneously, you must insert ContentDocumentLink records using the Salesforce Data Loader.

Collaborator permission will give a User the following permission over the file:

 
  • Make a file private
  • Change permission
  • Edit Details
  • Upload new version
  • Attach a File to a post
  • Share
  • Download
  • View or preview    
 

As per the Who Can See My File? documentation sharing access can be done to either Users or a Chatter group of Users. To mass grant permission to a User or Chatter group, Content Document Link must be used to associate the File and the User or Chatter group through Data Loader.
 

Решение

The following steps describe how to use Salesforce Data Loader to mass-grant Collaborator sharing permission to Salesforce Files for one or more users or Chatter groups.

Here are the steps to follow to mass grant Collaborator permission to Salesforce Files via Data Loader:

A. Prepare a CSV file with the following columns and information:

  1. Content Document ID - this is the ID of the file.
  2. Link Entity ID - ID of the User record or the Chatter group whom you're sharing the file.
  3. Share type - value of this column shall be "C" for Collaborator.

B. Use Data Loader to insert Content Document Link:

  1. Open Data Loader.
  2. Click Insert.
  3. Make sure the following are selected:
  • Oauth
  • Environment (either sandbox or production)

  

  1. Click Log in then enter your username and password.      
  2. Click Allow.
  3. Select Show all Salesforce Objects.
  4. Select ContentDocumentLink.
  5. Choose the created CSV file.
  6. Click Next.
  7. Map the fields.
  8. Click Finish.
Номер статьи базы знаний

000380672

 
Загрузка
Salesforce Help | Article