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

Opening a Document from Attachment Pane for Auto-Filling Task

Explorer ,
Jul 15, 2023 Jul 15, 2023

Copy link to clipboard

Copied

Hello Experts,

 

No one responded to my previous post, so I'm posting again to seek a response.

 

I have a MASTER PDF with text fields, and I would like to auto-fill template PDF documents using an action button. Currently, I have been able to achieve this to some extent, as the auto-filling function is working fine. However, I would like to make some changes.

 

Currently, I have to place the "Target Documents" in a specific folder location and I also have to mention in the script like this:

var targetDocPath = "E:/Fili/Document1.pdf";
var targetPDF = app.openDoc(targetDocPath);

 

What I want to do is attach the target/template documents to the master PDF in the Attachment Pane and I would like the script to detect the target document (through checkbox selection) from the attachments in the Attachment Pane and Open document and Fill it out.

 

This way, I won't have to manage multiple PDF files separately, and the Master PDF will become an all in one solution.

 

So, my question is: Is it possible to open a document from the attachment pane and perform this auto-filling function?

 

I hope you understand what I'm trying to achieve. 🙂

Thank you.

TOPICS
JavaScript , PDF , PDF forms

Views

246

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 ,
Jul 15, 2023 Jul 15, 2023

Copy link to clipboard

Copied

LATEST

It's possible, but not easy, and it won't work outside of Acrobat (including in the free Reader). Will all of your users have Acrobat? If not, it's not worth pursuing.

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