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
Animesh DattaAnimesh Datta 

Download Attachment from external System without storing in Salesforce


I have a Download button on a lightning component. On click of the button I am calling external system to fetch attachment. I am getting response in json format. I need help from here. On click of the button attachment should be downloaded without storing inside Salesforce.

Could you help on this.
Raj VakatiRaj Vakati
You can do some thing like below it may work .. 

Parse the Json response and open the attachement in new windown URL . It will be downloading automatically .. 
Animesh DattaAnimesh Datta
Actually I want to download the attachment from Amazon S3 from Salesforce but without storing inside Salesforce.