You are viewing limited content. For full access, please sign in.

Question

Question

PDF Submit Button/Script doesn

asked on June 16, 2014

The laserfiche custom script that I use for Adobe Reader/Acrobat submit button on a PDF, doesn't work. It doesn't move files into a folder that so that IA can import them into LF.

 

Here is my Coding:

 var mySaveAs = app.trustedFunction(function(oDoc,cPath,cFlName)
    {
    app.beginPriv();
    //cPath = "/c/pdfsubmission/";
    try{
        oDoc.saveAs(cPath + cFlName);
    oDoc.closedoc(flase);
    app.alert("Command Completed");
    }
catch(e)
    {
    app.alert("Error during save");
    }
app.endPriv();
});

 

I have everything in the right place but yet no dice. Doesn't move it into the folder at all. If fact. It just skips and goes straight to the app alert.

0 0

Replies

replied on June 16, 2014
oDoc.closedoc(flase);

False is spelled wrong.

0 0
replied on June 16, 2014

Sorry that was a typo but it still doesn't work.

0 0
replied on June 16, 2014

Hi Maurice,

 

Something to keep in mind is that this script will not create the folder for you.  You'll need to manually create the folder in advance.

 

If that doesn't help at all, you might want to try the Adobe forums.  The functionality that you're describing doesn't really involve Laserfiche software, so the user base on Answers is probably not your target audience.  I imagine the Adobe community will probably be able to help out a bit more!

0 0
replied on June 17, 2014

Hi Brett,

 

Thanks for replying back. I did create the folder in advance. Also this scripts comes from you guys

 

http://www.laserfiche.com/solutionexchange/article/send-your-pdfs-directly-into-laserfiche?UseCache=No&comment=true#comments

 

The 1st place I did was Adobe forms. I was direct this way. Any help would be great.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.