app.openDoc Not Allowed Security Error
Hi. I am new to the forum.
I have a simple javascript in a main pdf document (General Forms). The script creates a device independent path to second document and opens the document using app.openDoc.
The script is as follows:
str=this.path;
FirstStringLength = str.length - 22
FirstString = str.substring(0,FirstStringLength);
app.openDoc({ cPath: FirstString + "/Test General Forms/Basic Lift Plan Form.pdf", cDest: "Forms TOC" });
The script works fine on my personal computers (Windows and Mac). However, when I try it in a networked office environment it issues the error:
NotAllowedError: security settings prevent access to this property or method.
App.openDoc: Field General Forms: Mouse Up.
The Javascript reference manual does not state any security issues with the openDoc method.
Any help? Please. Jim
