+ Start a Discussion
Suraj PSuraj P 

Has anyone here been able to query AttachedContentDocuments on a standard or custom object in an Apex Test class?

I have created a ContentDocument and ContentDocumentLink against the parent object record. However, AttachedContentDocuments related list for the record is still empty. It works successfully, outside of a test class (via Anonymous Apex, for instance) . Any ideas would be appreciated.
Alfredo Puente VasconcelosAlfredo Puente Vasconcelos
I have the same problem, did you solve it?