7 Replies Latest reply on Jan 31, 2017 5:38 AM by DomTom

    Close document inside aftersave event in jsx

    DomTom

      Hi,

       

      My goal : when the operator save his current document, I display my own screen (build in jsx) in which one of the options is 'close document'.

      In the validate process, I detect the close option and call the jsx procedure document.close (), but this produce an error : impossible to close the document because I'm inside the event procedure. How can I solve this problem ?

       

      BR,

       

      Dominique

      EDIT [moved by moderator to In Design Scripting]