Opening another PDF from a specific path yielding error
hello,
i'm trying open pdf (child.pdf) pdf(main.pdf). if both main.pdf , child.pdf reside in same directory, code below works fine.
app.opendoc("child.pdf");
however, if move child.pdf c:\pdf_templates\child.pdf , modify code to:
app.opendoc("c/pdf_templates/child.pdf");
i following error:
exception in line 1 of function top_level, script xfa:form1[0]:#subform[0]:button1[0]:mouseup
notallowederror: security settings prevent access property or method.
app.opendoc:1:xfa:form1[0]:#subform[0]:button1[0]:mouseup
the error security settings preventing access path. have check , re-checked security settings , still error.
any ideas on how can overcome issue???
thanks,
jose
hi,
the error message in acrobat misleading.
there no security setting blocking opening form.
you have raise error, because path provided not correct.
the absolut path has begin leading slash (/).
app.opendoc("/c/pdf_templates/child.pdf");
More discussions in LiveCycle Designer
adobe
Comments
Post a Comment