6 Replies Latest reply on Aug 31, 2017 8:14 AM by vinny38

    Willprint... javascript code is triggered after the actual print

    vinny38 Level 5

      Hi JS experts.

      I'm having hard time understanding how Willprint document action actually works.

      As it sounds, it should allow a js code to be triggered just after the Print button is hit, and obviously before the real printing.

      But I got this situation where code is triggered after the printing... which would be a Didprint behavior as I understand it...


      Code is about spawning a template:



      Doc prints without the spawned page and then adds it.


      Thanks in advance for your enlightening help...