You need to sign in to do that
Don't have an account?
Yaman Neameh
Relationship ContentDocumentLink and Case
Hello,
I'm receiveing relationship error while querying for Cases Ids and their attached document Ids:
Select id, (SELECT Id FROM ContentDocumentLink) From Case limit 5
Can you please support me to run the above query in one statement?
Thank you
Yaman
please use - Select id, (SELECT Id FROM ContentDocumentLinks) From Case limit 5
standard child relationships need to have 's' at the end, for e.g. select id,(select id from contacts) from account.
All Answers
please use - Select id, (SELECT Id FROM ContentDocumentLinks) From Case limit 5
standard child relationships need to have 's' at the end, for e.g. select id,(select id from contacts) from account.
Thank you very much for your support,
I tested it successfully after adding 's' to ContentDocumentLink.
Best Regards
Yaman Neameh