You need to sign in to do that
Don't have an account?
Mike Bucci 6
I am trying to execute a basic SOQL query to pull the ID of an attached file but it is not returning anything. Here is what I have: SELECT Id FROM Attachment WHERE ParentId = '5005000000qtXXXXX' Any suggestions?
Here is what I have: SELECT Id FROM Attachment WHERE ParentId = '5005000000qtXXXXX'
Any suggestions?
Any suggestions?
All Answers
Are you using attachements or file s?
Do one thhink
First Query without where condition and see
Use this SOQL
SELECT Id ,ParentId FROM Attachment
See the above Query you are getting the parentID which you are using in where the condition