You need to sign in to do that
Don't have an account?
Unable to access attachments through SOQL
I have added notes and attachments to one of my Account, If I run the below query I am getting notes but not attachements
SELECT Id,name,(SELECT Id, Name FROM Attachments),(SELECT Id, Title FROM Notes) FROM AccountIf I run seperate query on attachments, then also I am not getting any attachmants, the result is 0.
SELECT Id, Name FROM AttachmentDoes anyone know why the count is getting zero? even though I have attachments in my org.
thanks
let me know if it helps you
All Answers
Refer below article for the same
https://help.salesforce.com/articleView?id=Attachments-are-not-returned-in-Lightning-Experience-search&language=en_US&type=1
So it might be possible that your uploaded files are stored within Salesforce File. Once search in Files if you are able to get your uploaed documents.
Thanks
Arpit
thanks
let me know if it helps you