Back
Basically, contentDocument records can't be created directly. Instead, you can go for ContentVersion record over an API, and then Salesforce will automatically creates the ContentDocument.
I hope this will help.
Want to become a Salesforce Expert? join salesforce developer certification now!
31k questions
32.8k answers
501 comments
693 users