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
mjohnson-TICmjohnson-TIC 

Files Tab Object

Does anyone know what object records of the files tab are stored in and if they are queryable or editable through the API?

Best Answer chosen by Admin (Salesforce Developers) 
Rahul_sgRahul_sg

This tab is for the records stored in User's chatter and Content Files.


The Files tab supports all file types up to 100MB each. You can share files here with Chatter or by creating groups. You also have a private section so no other users in the Salesforce CRM system can see them. The Files tab requires no admin setup and is ready to use when Chatter is enabled. Since this integrates with Chatter and Content, think of this as a central repository where all files from those two can be accessed if you have the proper permissions.

 

You can store the document in myFiles using API as well. You need to store the content as content document in personal workspace and provide ‘origin’ field in content version object as ‘H’. (origin is a picklist field in content version object and has two values ‘C’ and ‘H’. C denotes the file is in users personal workspace and ‘H’ denotes Chatter files from User’s myFiles.). This will insert the document in myFiles.

 

You can also share the file later on with any record by posting the file into content of the record by using contentPost.

 

All Answers

Rahul_sgRahul_sg

This tab is for the records stored in User's chatter and Content Files.


The Files tab supports all file types up to 100MB each. You can share files here with Chatter or by creating groups. You also have a private section so no other users in the Salesforce CRM system can see them. The Files tab requires no admin setup and is ready to use when Chatter is enabled. Since this integrates with Chatter and Content, think of this as a central repository where all files from those two can be accessed if you have the proper permissions.

 

You can store the document in myFiles using API as well. You need to store the content as content document in personal workspace and provide ‘origin’ field in content version object as ‘H’. (origin is a picklist field in content version object and has two values ‘C’ and ‘H’. C denotes the file is in users personal workspace and ‘H’ denotes Chatter files from User’s myFiles.). This will insert the document in myFiles.

 

You can also share the file later on with any record by posting the file into content of the record by using contentPost.

 

This was selected as the best answer
Bill Merritt 7Bill Merritt 7
Is there a "View All Files" kind of permission? As a standard profile System Administrator it seems I can see all files, but I want to be able to grant this kind of permission to a sort of "File Manager" kind of profile. Is there a way to do that?