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.