Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Salesforce by (13.1k points)
I want to create an application to import files from a folder to Salesforce. But I want to upload it directly to ContentDocument objects, rather than import to Document object. Is there any possibility to do so?

1 Answer

0 votes
by (26.7k points)

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!

Browse Categories

...