-
1. Re: Launching URL in new page from form hyperlink
dbjackie Oct 25, 2011 2:07 PM (in response to dbjackie)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
-
2. Re: Launching URL in new page from form hyperlink
Kevin Mortimer Oct 26, 2011 12:52 AM (in response to dbjackie)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
-
3. Re: Launching URL in new page from form hyperlink
dan_x3_ Oct 27, 2011 3:43 PM (in response to dbjackie)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.

