cancel
Showing results for 
Search instead for 
Did you mean: 

Set file name dynamically on "SaveAs"

Former Member
0 Kudos

Hi all,

How can I set the file name dynamically using javascript in offline adobe forms scenario?

I'm using the following script in "onClick" event of button for saving file:

app.execMenuItem("SaveAs");

What I need is to set the file name dinamically depending on some data from the form.

Thanks

Michael Beilin

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Michael,

Follow this Thread from Adobe Forums [XFA form with button to save file with unique filename|http://forums.adobe.com/message/2268179#2268179]

Regards

Pradeep Goli

Former Member
0 Kudos

Hi Pradeep,

Thanks for your help.

Have you emplemented this solution?

Thanks

Michael Beilin

Former Member
0 Kudos

Hi Michael,

I haven't Implemented but I found it when I am searching for other case related to "SaveAs" button.

Do reply after your implementation, whether it is working or any other changes are required to that code, so that it may be beneficial for other developers.

Regards

Pradeep Goli