Pages

Friday, April 3, 2020

Apex: How to Create a ContentDocument file in test class

Use ContentVersion to create the file and use ContentDocumentLink to link the file to a record.


No comments:

Post a Comment