I'm trying to open a PDF (child.pdf) from a PDF(main.pdf). If the both the main.pdf and child.pdf reside in the same directory, the code below works fine.
However, if I move the child.pdf to c:\pdf_templates\child.pdf and modify the code to:
I get the following error:
Exception in line 1 of function top_level, script XFA:form1:#subform:Button1:mouseUp
NotAllowedError: Security settings prevent access to this property or method.
The error is to do with security settings preventing access to the another path. I have check and re-checked all security settings and I still get the error.
Any ideas on how I can overcome this issue???
the error message in Acrobat is misleading.
There is no security setting blocking you from opening the form.
You really have an raise error, because the path you provided is not correct.
The absolut path has to begin with a leading slash (/).
Your suggestion resolved my issue and you are correct the Acrobat error is very misleading.
I started going down the path of disclosure as I thought this was an issue with security.