--
Katherine,
Take a look at the url below for some parameters for opening pdf documents. I tested this and it seems to work fine.. http://yourwebite.com/pdffile.pdf#toolbar=1&search="searchword" although it’s not for opening to a specific page it does search and return whatever value is specified after the search= component.
Is your question more on how to create a hotlink with parameters in MI Pro rather than what the syntax is for PDF document opening? Are the files hosted on a website or inside your local network via a unc or drive reference? If that is the case then you may have to kick off the adobe reader executable prior to opening the pdf file. I’m not sure on that one due to file associations etc. I generally try to embed the executable file name for whatever type of file I’m wanting to open via a hotlink since some users may actually change the file associations on their specific machines sometimes. One other thing to consider is writing the hotlink values etc to the meta data of the tab file.
URL for pdf parameters….
http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/pdf_open_parameters.pdf
Below is a snippet of one of our files where the hotlink is embedded in the meta data..
Fields 20
Case Char (8) Index 1 ;
Name Char (35) Index 2 ;
Type Char (3) ;
Pin Char (15) ;
Status Char (10) ;
Map Char (4) ;
Sheet Char (2) ;
Date Date ;
Pin2 Char (15) ;
New_street Char (1) ;
Taxdist Char (4) ;
Xcoord Decimal (11, 0) ;
Ycoord Decimal (10, 0) ;
Fire_dist Char (20) ;
Usps_commu Char (20) ;
Jurisdicti Char (20) ;
Image_url Char (120) ;
Scanid Char (15) ;
Deleted Char (15) ;
Mi_prinx Decimal (11, 0) ;
begin_metadata
"\IsReadOnly" = "FALSE"
"\ActiveObject" = ""
"\ActiveObject\Expr" = """http://websiteaddress.com/add_scans/""+""ap""+mi_prinx+"".pdf"""
"\ActiveObject\Mode" = "HOTLINK_MODE_OBJ"
"\ActiveObject\Relative" = "FALSE"
"\Info" = ""
"\Info\Date" = "01/25/2011"
end_metadata
HTH
Mike
From: mapi...@googlegroups.com [mailto:mapi...@googlegroups.com] On Behalf Of Katherine Bo
Sent: Sunday, September 22, 2013 11:18 AM
To: mapi...@googlegroups.com
Subject: Re: [MI-L] Hotlink to open PDF at specific page
Hi Bill,
--
As Mike Osbourn indicated for the Adobe PDF Reader, the use of parameters is well documented: see under Parameters on page 5 of the link he gave [here]. If the PDF file is stored on your computer, you just prefix the filename with its location on your hard drive. Simple.
So, if Acrobat Reader 11.0 is installed here: C:\Program Files (x86)\Adobe\Reader 11.0\Reader\ (on my 64-bit Windows 7 system)
and its filename is AcroRd32.exe
and you want to open page 9 of the PDF file “MyDocument.PDF” located at C:\SomeFolderName\, then the string you need will be –
“C:\Program Files (x86)\Adobe\Reader 11.0\Reader\ AcroRd32.exe” /A “page=9” “C:\SomeFolderName\ MyDocument.PDF”
Note that the quotes are important.
And the hotlink code given by Mike should be easy to follow.
For other PDF viewers the parameter syntax may differ, but many other PDF viewers such as PDF_XChange use a very similar if not identical syntax to Adobe’s
PDFXCview.exe /A "page=9&zoom=200,250,100" mypdffile.pdf )
(omitting the path information)
Ian Thomas
Scientific Software
From: mapi...@googlegroups.com [mailto:mapi...@googlegroups.com] On Behalf Of Katherine Bo
Sent: Monday, September 23, 2013 9:45 PM
To: mapi...@googlegroups.com
Subject: Re: [MI-L] Hotlink to open PDF at specific page
Hi Mike,