Skip to main content
Participant
May 16, 2018
Question

In Acrobat, open a dropdown menu

  • May 16, 2018
  • 1 reply
  • 298 views

I am trying to open a file using a javascript dropdown menu. I know acrobat allows users to open a single file using the standard features, but I have about 30 different files that need to be referenced.

This topic has been closed for replies.

1 reply

Karl Heinz  Kremer
Community Expert
Community Expert
May 16, 2018

Take a look at the app.openDoc() method (Acrobat DC SDK Documentation ). In your dropdown control, you can store two pieces of information for each entry: The value that the user sees, and an export value. If you make the export value the path to the file, you can then pass that directly to openDoc().