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
RetreeverRetreever 

How to upload to Salesforce Files via a Salesforce Soap API?

I have a form on a web site using the SOAP API to connect to Salesforce which includes a document attachment function - when the form is submitted it creates records for (2) custom objects and attaches the submitted document to the Notes and Attachments related list on one of the custom objects - this has been working for over a year.

We recently decided to migrate to the new Salesforce Files which I have done in our Sandbox as a prelude to production release. Everything appears to be working fine EXCEPT the documents attached to the web form are NOT appearing in the Files related list.

Is there something I need to do with my web form or in Salesforce to make this work as expected?

TIA, Roger