All Ideas

Idea Details

Post an Idea
4,980  Points
Open
Idea has been posted. Give it an upvote or downvote.

Transferring File Ownership

Files & Content

Hi, we have users uploading a lot of files via Chatter > Files, and it's great because of the way they can set up Sharing permissions to restrict who has access to these files.

The problem however, is I've been informed by SFDC support that there's no way to change ownership of the files.  This presents a problem, as when the users leave the company, any files they've uploaded we have no way to transfer to their replacement.  I'm afraid this makes uploading Files via this method useless, as education material, policy procedures, product information sheets- suddenly all gone.

Please implement a way to allow Administrators to change ownership of all of a user's files to a different user so we can retain the information.

Thank you!

 

Merge Idea · Flag

Latest Comment from Salesforce

  • Neil Hayek - 4 months ago

    You are able to change the owner of files by updating the ContentDocument entity and changing the OwnerId.  ContentDocument is an Id starting with 069. You can do this in bulk, such as for a user who left the company, by using Data Loader.

    The main requirements to change ownership is that you are the file owner, or you have the “Modify All Data” permission.  More details can be seen here:
    https://developer.salesforce.com/docs/atlas.en-us.220.0.api.meta/api/sforce_api_objects_contentdocument.htm

    If you are a user with the “Modify All Data” permission and you want to extract documents, you may want to also enable the “Query All Files” permission:
    https://releasenotes.docs.salesforce.com/en-us/spring19/release-notes/rn_files_query_all_files.htm

  • Upvotes
  • Downvotes

Ideas

Apps

from AppExchange

Questions

Help us to keep IdeaExchange clean by pointing out overlapping ideas. We'll investigate your suggestion and merge the ideas if it makes sense.



 

 

Thanks for your merge suggestion. We will review it shortly and merge the ideas if applicable.

Salesforce takes abuse situations very seriously. Examples of abuse include but are not limited to posting of offensive language or fraudulent statements. To help us process your request as quickly as possible, please fill out the form below describing the situation. For privacy and security reasons, the final outcome of an abuse case may not be revealed to the person who reported it.


 

Thank you for your feedback. We take abuse seriously and will investigate this issue and take appropriate action.