You need to sign in to do that
Don't have an account?
Hoc Ngo
Is it possible to find all ContentDocumentLinks that have opportunities?
Hello,
We have documents uploaded to the ContentDocument object that is shared to the ContentDocumentLink object.
Is there a SOQL query I can use to find all ContentDocumentLinks that contain '006' in the LinkedEntityID?
Would be great if I can find one! Thank you
We have documents uploaded to the ContentDocument object that is shared to the ContentDocumentLink object.
Is there a SOQL query I can use to find all ContentDocumentLinks that contain '006' in the LinkedEntityID?
Would be great if I can find one! Thank you
SELECT ContentDocument.title, LinkedEntityID FROM ContentDocumentLink WHERE ContentDocumentId = '0692j00000Fh0kQAAR'
It is very hard to use like operator when quering ContentDocumentLink and even it does not work. It is one of the major limitation. I had gone through one of the stack exchange question which is similar and it was answered that it can be done using python script.
Can you explore if that is helpful.
https://salesforce.stackexchange.com/questions/209973/query-to-see-all-files-related-to-specific-object-events
If this solution helps, Please mark it as best answer.
Thanks,
All Answers
It is very hard to use like operator when quering ContentDocumentLink and even it does not work. It is one of the major limitation. I had gone through one of the stack exchange question which is similar and it was answered that it can be done using python script.
Can you explore if that is helpful.
https://salesforce.stackexchange.com/questions/209973/query-to-see-all-files-related-to-specific-object-events
If this solution helps, Please mark it as best answer.
Thanks,
Thanks alot for your help!