These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Links to specific file in a PDF Package

Amy
Registered: Nov 21 2007
Posts: 7
Answered

I have created a PDF package with Adobe Pro 8 and need to link to a specific file in the package from a web page. The package contains the main document and 5 appendixes. I need to have an html table of contents with a link to all 6 files in the package. How do I code the html link to do this?

Any help is much appreciated!!

My Product Information:
Acrobat Pro 8.0, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
There is no standard process for this, you have to create your own custom navigation scheme. but ti can be done.

A file that is embedded another PDF, can be referernced with a Destination inside the encapsulating PDF, i.e. the package cover file. If you have advanced developer tools you could create a named destination for this. Named destinations have the wonderful advantage of being able to be used in an URL. Unfortunately this is not an option availible to most people.

From Acrobat's user interface you can create a Bookmark Destination that points to an embedded file. When you create the bookmark, manually add a Goto View action and use the "Set Link" dialog to set the destination. If you follow this methodology you will need to pass the name of the bookmark into the PDF in the URL (the link on the HTML page), by using the standard query string syntax. Then you'll need a document level script to parse the bookmark out of the URL and execute the bookmark.

Not exactly easy, but that's because Adobe didn't provide a standard process for it:( The easiest route might be to find someone who can create named destinations that point to an embedded file.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

Amy
Registered: Nov 21 2007
Posts: 7
I have tried your idea - no go. Apparently when the PDF Package contains normal PDF files and LiveCycle created forms this option does not work. Even downloaded a trial version of Adobe 9 (which did not contain Destinations) but still ended up getting rid of the package and separating everything so each file could have its own link.

Thanks for the idea.
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Opps, haven't tried this with embedded LC forms. Bummer that this kind of navigation is so difficult.

Acrobat 9 does not implement "Packages". Instead it has a new kind of UI called a Portofolio, which is setup specifically for linking to embedded files. Although I'm not sure how you'd link to one from a web page.

Good Luck,
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script