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
ManojjenaManojjena 

How to save PDF into a specific local drive

Hi All,

 

I want to save pdf  in to  local drive by the help of apex class.

 

Can any one suggest me how to fix this

 

Thanks in advance.

sfdcfoxsfdcfox
As a matter of browser security, you cannot do this directly in Apex Code. You would need to use a signed Java applet or some other technology (such as the new HTML5 file API) to attempt to do this successfully.