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

Javascript to insert another pdf file

Community Beginner ,
Aug 14, 2019 Aug 14, 2019

Copy link to clipboard

Copied

I'm still a little new to PDF javascripting. Is there a javascript to insert another pdf file into an existing PDF file when a user chooses a drop down menu item?

I have a template with a drop down menu, and when a user clicks on that menu item I would love for the corresponding PDF be inserted into that template. Would that be possible or would that be too difficult? I am using adobe acrobat pro DC.

Thank you in advance!

TOPICS
Acrobat SDK and JavaScript , Windows

Views

359

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 ,
Aug 14, 2019 Aug 14, 2019

Copy link to clipboard

Copied

LATEST

It's possible using the insertPages command. However, this method can only be used from a so-called "privileged context" which basically means either a script installed on the local machine or from within a certified file. Of course, it won't work in Reader. Only in Acrobat.

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