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

Programatically open and save files, store to own document system

Explorer ,
Apr 18, 2017 Apr 18, 2017

So, here's what I need to do

  1. When a user opens a PDF document, I need to have my add-on check if there is a side-car file in the same location as the document (this indicates it comes from a document management system we are integrating with). If the side-car file is not there, my plugin will do nothing.
  2. I need to read the side-car file (XML or JSON) and determine various properties (meta data about the PDF document from the document system).
  3. The user changes the document and wants to save it back (the document is either a form with data he can fill in, or open in DC and is changed). I want to intercept the save command, ask the user if he wants to save it back to the document management system, if he clicks OK, have the document saved, and then (using my own code) ship the document back to my document management system.
  4. Close the document.

Is this possible to do in a Javascript add-on? I'd rather not do it in C++.

TOPICS
Acrobat SDK and JavaScript
253
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
no replies

Have something to add?

Join the conversation