I have a PDF where users fill in the form, and if they need additional pages to download from our in house network address
app.launchURL(http://www.adobe.com, true); It works, it opens a new window.
But when i try to link the button to my network server it fails?? any idea??The address im tryin gto link to is
I:\Safety\Forms\Interactive Forms\ 906 Employee Witness Statement_pub_0001.pdf
Views
Replies
Total Likes
Yes I know it is bad bad to use spaces in file names, I didnt do it, and it would be a monster PITA to rename everything... Trust me i want too
Views
Replies
Total Likes
Hi dbjackie
There are 2 choices for you
1) Use the Hyperlink function in a text object as this enables you to navigate to the file of your choice. note: this will only work for pdf's that have the compatibility set to Reader 9 and above
If you can;t insist on Reader 9 then
2) create a web server that points to the I drive and you should be able to use app.launchURL as before.
Kind Regards
Kevin Mortimer
Solutions Architect
Avoka www.avoka.com
Views
Replies
Total Likes
For file access, must use "unix" style syntax, use "/" instead backslash ("\").
app.launchURL("c:/test.cmd",true);
note i'm using "/" instead "\". that was tested running in my reader 9.4.1 on click button event.
Other think is to enable acces in each client, reader. go edit->preferences and change internet access outside web explorer preferences for allow that address.
try this in javscript:
Also, can use openDoc instead launchUrl for open a .PDF file with this notation under windows for I: share unit:
app.openDoc("/i/Safety/Forms/Interactive Forms/ 906 Employee Witness Statement_pub_0001.pdf");
Note first "/" char (root for unix notation, but nedded for windows). also tested with reader 9.4.1.
Spaces in path isn't a problem with openDoc.
Hope help.
Views
Replies
Total Likes