Save As error

Avatar

Avatar

EdrianSuarez

Avatar

EdrianSuarez

EdrianSuarez

24-02-2015

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

Avatar

Avatar

radzmar

MVP

Avatar

radzmar

MVP

radzmar
MVP

26-02-2015

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

Avatar

Avatar

EdrianSuarez

Avatar

EdrianSuarez

EdrianSuarez

25-02-2015

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

Avatar

radzmar

MVP

Avatar

radzmar

MVP

radzmar
MVP

25-02-2015

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