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

95

Likes

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
Adobe Community Professional ,
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().

Likes

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