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

In Acrobat, open a dropdown menu

New Here ,
May 16, 2018 May 16, 2018

Copy link to clipboard

Copied

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

Views

222

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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