NWC - downloading Salesforce files

  • 2 June 2020
  • 1 reply

The 'Get file from record' works great with attachments but not files. Is it possible to get a file from Salesforce Files? 



I used Salesforce Rest API call to get the download url ... However, I am not sure how I can convert this to a file to then send to Box. 


Thank you,



Best answer by eharris04 3 June 2020, 07:29

View original

1 reply

Badge +17

this is a tricky one because that action was intended for the standard attachment location in Salesforce. 


For files you may be able to send the file url to box api and see if it accepts the url to upload directly. I have not tested that but when you have a url that would be the only way. Otherwise you could move the file to an attachment on a record, grab it and then transfer it, and then delete the dummy record. A work around for sure but try it out and see if the url works.