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

Add Page Links with LiveCycle Designer

paulmkelly
Registered: Jun 25 2007
Posts: 2

How do i add a text link to jump to a specific page in the pdf document using LiveCycle Designer?

My Product Information:
Acrobat Pro 8, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
To set the page use:

xfa.host.currentPage = 5; // To go to page 5

If it is a dynamic PDF then the page number is not always obvious. You need to identify an object on the page first, then you can get the page number the object is on. For example if the main object for the help page is "Help1":

var oHelpPage = xfa.form.resolveNode("$..Help1");
var nPage = xfa.layout.absPage(oHelpPage);
xfa.host.currentPage = nPage;

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