3 Replies Latest reply on Apr 18, 2017 4:37 PM by Liam Dilley

    Programatically open and save files, store to own document system

    TerjeAB Level 1

      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. 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 pick up this, have the document saved, and then (using my own code) ship the document back to my document management system.
      3. Close the document.


      Is this possible to do in an add-on? Preferably not in C++ :-)