You need to sign in to do that
Don't have an account?
Bill Bell 3
Files Object Name
Simple question. On an Opportunity you can upload files. I want to query the upload file object and check what files were uploaded. What is the object name to query? I've been looking for an hour and can't find it.
You have to query ContentDocumentLink Object like in the below Article.
http://salesforce.stackexchange.com/questions/124640/how-to-query-all-files-attached-to-the-opportunity
Thanks !
Lokesh
But if you want to query the linked related files in the files section, then you just need to fetch the contentDocumentLink where linkedEntityId is the ID of ContentDocumentId just to check which file is attached to which record.