Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

In Acrobat, open a dropdown menu

New Here ,
May 16, 2018 May 16, 2018

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.

TOPICS
Acrobat SDK and JavaScript , Windows
280
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 16, 2018 May 16, 2018
LATEST

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().

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines