Skip to main content
Participant
October 13, 2023
Answered

Adobe Form Buttons - Open Another Document on a Specific Page

  • October 13, 2023
  • 3 replies
  • 1075 views

I am having trouble setting up some links between documents. I can make the button work for opening a specific document. But so far I have been unable to find out how it can be opened on a certain page. I have looked through various forms online and YouTube and not been able to resolve this yet. Hoping someone can help. 

 

Essentially what I want is in Document1 it has a line saying:

 

Please refer to Document 2 - Section8.1

 

I have set up a button so when you click that line it opens document 2. However, it only opens it on page 1, but section 8.1 is on page 35 of 80. Can it be set up so the button would open document 2 and jump straight to page 35?

Correct answer try67

As the action for the button select "Go to a page view". Then, when the floating window with the Set Link button appears, open the file you want to link to, scroll to the desired location and then click that button. Of course, you'll need to keep both files in the same relative positions to each other for the link to continue working later on.

3 replies

JR Boulay
Community Expert
Community Expert
October 14, 2023

The openDoc method allows the use of a destination in the cDest parameter.

See: https://opensource.adobe.com/dc-acrobat-sdk-docs/library/jsapiref/JS_API_AcroJS.html?highlight=opendoc#opendoc

(cDest: The name of the destination within a document. This parameter forces opening at named destination within the PDF document.)

Acrobate du PDF, InDesigner et Photoshopographe
try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
October 13, 2023

As the action for the button select "Go to a page view". Then, when the floating window with the Set Link button appears, open the file you want to link to, scroll to the desired location and then click that button. Of course, you'll need to keep both files in the same relative positions to each other for the link to continue working later on.

Bernd Alheit
Community Expert
Community Expert
October 13, 2023

Use a link for this.