cancel
Showing results for 
Search instead for 
Did you mean: 

Save pdf file to folder on click submit button

Former Member
0 Kudos

Hi,

Does anyone knows how to save a currently open pdf file to a specific directory folder when the submit button is clicked? Is it possible to be done using javascript or formcalc?

Thanks,

Cindy

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Cindy,

You can check out the following threads.

Hope this helps.

Former Member
0 Kudos

Hi Cindy,

Do you mean saving the file on the server or on the client machine?

On the server it's pretty easy with Java to save the context element that represents the PDF file.

I doubt it can be done locally, having Javascript able to write to a client machine would obviously be a security issue.

You can supply a link with a FileDownload UI element bound to the PDF context if that helps.

Regards

Gregor