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
venkateshyadav1243venkateshyadav1243 

Saving the file in sales force or local system

Hi 

Am doing salesforce to amazon integration 

when i upload data in salesforce it will store in amazon

for UI purpose what ever we are storing we are dispalying the uploaded file in salesforce visual force page and one down link

 

in the click of the download button we have to save the file in my system.

but now with my code when i click its opening in new window i can i save that file

 

am using these reference can any tel me where am missing

 

<a class="button Download chat" href="{!obj.objectURL}" target="_blank"  onclick='window.location.href="{!obj.objectURL}";return false;' ><span>Download &nbsp;</span></a>

 

 

regards

venkatesh

 

Cloud CredenceCloud Credence

Hi,

 

I think this is a browser setting. Try in different browsers, may be it will pop up a message to save.

 

Thanks,