Skip to main content
Question

How can I update the file in Box to latest version via Salesforce SDK or Salesforce Developer toolkit?

  • May 22, 2025
  • 2 replies
  • 37 views

Forum|alt.badge.img

I found createFileFromAttachment method in Developer toolkit but it's for uploading new files, not for updating to the latest version.

Also, the Salesforce SDK has an upload a file method, but it is also for new files and cannot be used to update files.

 

I want to update files in Box via Salesforce. How can I do this?

2 replies

Forum|alt.badge.img

I have found out there is a method, uploadVersion() in java SDK and so on. but NOT in salesforce SDK.

I think this method can make us to upload a newer version of file and also update the version information simultaneously.

How could I achieve this goal in my salesforce environment?

Please show us a solution of these problems.

best regards.  


Forum|alt.badge.img

I would also like to know how to leverage the uploadVersion() method using the SalesForce Box SDK. I would like to update the Box file content when it's updated in SalesForce.