Skip to main content
Hi all,

I trying to upload attachment to salesforce account rest api using asp.net

We have followed the steps given in following link but couldn't succeed.

http://danlb.blogspot.in/2012/06/salesforce-rest-api-file-upload.html

please help me on this
5 Antworten
  1. 23. Mai 2025, 17:19

    You cannot directly tie the ContentVersion with an Account during the upload. Just like in Apex, you have to create a ContentDocumentLink record with the relative Id's after the ContentVersion is uploaded. 

0/9000