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
wt35wt35 

Access Files from the API

Hello

 

I would like to know what is the API name of the table in which Files are stored.

I saw a table called Document but to me this one is obviously for files stored in  the Documents tab.

 

Thank you


Marc

Best Answer chosen by Admin (Salesforce Developers) 
SuperfellSuperfell

Yes, ContentDocument & ContentVersion

All Answers

SuperfellSuperfell

Depending on which type of files you're refereing to, it'll be Documents, Attachments or ContentVersion

wt35wt35

I was referring to the files that you upload either on your Chatter page or in the standard Files tab that came with Chatter.

So would this be ContentVersion ?

SuperfellSuperfell

Yes, ContentDocument & ContentVersion

This was selected as the best answer