These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Setup a Submit Button in order to send the PDF form accross the network

marco.alvarado
Registered: Mar 15 2011
Posts: 2

Good evening to All,
I have a company requirement that I need to accomplish and to be honest I'm running out of ideas.
 
We have adobe and we would like to automate several processes we currently have by using adobe forms. Now, I got a LiveCycle Designer ES2 license also, I'm using Adobe 9 Pro Extended.
 
Bottom line, we would like to have a submit button on a series of PDF forms in order for the user to click on them once they finished and, the form will be send out accross the network to an HR depository file server.
 
I've been digging for info and I was able to find the following,
-How do safe a PDF with JavaScript (http://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript)
-Using Trusted Functions (http://acrobatusers.com/tutorials/2008/10/using_trusted_functions)
-Entering Folder level Scripts (http://acrobatusers.com/tutorials/2006/folder_level_scripts/)
 
My problem is that I try to test the examples the articles have but I'm unable to get it right. I follow all the instructions but I get nothing in return.
 
From the docs, I was able to understand that we need a trusted medium in order to run previlieged functions, I tried to create the config.js inside the "C:/Document and Settings/me/application_Data/Adobe/Acrobat/Adobe 8 or 9/" also, I included inside my JavaScript function the requirements in order to convert the function in privilieged (app.trustedFunction, app.beginPriv() and app.endPriv()) but I'm still unable to get it right. based on the articles I can add options to the Adobe toolbar but I don't see any changes after following the instructions.
 
Have something changed with Adobe9? Am I missing anything outside the articles I have found? Some light please!

My Product Information:
Acrobat Standard 9.4.2, Windows
gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4307
Did you restart Acrobat?

Have you opened the JS console in Acrobat to see if there is any errors or messages?

George Kaiser

marco.alvarado
Registered: Mar 15 2011
Posts: 2
No errors there! My question is, I created the config.js file and just by re-starting Acrobat I'll have the new changes available? Do I need to do something else?
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
If your trying to save the file to your file server which is in the same network (share drive) you need a method to determine the save path and 2 scripts (one in the form, one in a folder level script).
Here's a example that does both.

http://thelivecycle.blogspot.com/2009/11/save-form-to-specific-directories-and.php

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

gkaiseril
Online
Expert
Registered: Feb 23 2006
Posts: 4307
You do understand that the PDF format does not use the Microsoft drive mapping naming method.

You need to use the 'this.URL' method, 'this.path' methods to get then URI path of the network drive, file directory, and file name from within a PDF file located on that network drive.

Remember, network mapping is user modifiable and is not always standard on large geographically diverse organizations.


George Kaiser