Expand my Community achievements bar.

Save As error

Avatar

Former Community Member

Hi there everyone, I am pretty new to LiveCycle, and I am creating a pretty simple form.

I just need a bit of help with my Save as Button.

My goal is to Save the filled form to an specific folder, and the name of the file should come from one the fields on the form.

I tried following the following tutorial without any luck:

https://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript

Everytime I add any commands, even a simple   app.execMenuItem("Save");  I get a "Submit Cancel" Error.

What am I doing wrong?

Thanks in advance.

3 Replies

Avatar

Level 10

Hi,

the tutorials said the following about using app.execMenuItem("Save"); from a button:

To save files into specified directories you'll have to install a folder level script in your Acrobat folder.

Here's a sample you can start with:

http://thelivecycle.blogspot.de/2009/11/save-form-to-specific-directories-and.html

Avatar

Former Community Member

Thanks for the Response Radzmar, I aprecciate it. I have one more questions, If I get the form working, and I send it to a friend. Will it not work on a different computer since there will be no script on that computer? Thanks

Avatar

Level 10

Correct, the solution works only if you have the folder level script installed!