function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jvjv 

Automated document upload options

I know that an individual user can manually upload a "document" to salesforce.com, but I really haven't found any automated options.

Options I'd like to consider are :

  • load an html document via a webservice
  • C# - Upload the document
  • Java - Upload the document

The salesforce.com help describe a "document" from the API standpoint, but that appears to be after it's been uploaded.

So in other words, I'm looking for example code for all 3 options.

Thanks,
Jason

 

Michael SMichael S
We have been able to do it very easily with creating document objects the same way as creating other objects in the database using the create message.  We are doing it using the Microsoft Soap 3.0 low-level api.
DevAngelDevAngel

Hi jv,

You upload documents just like any other object.  The only difference is the body of the document needs to be base64.