SrikanthNan's avatar
SrikanthNan
Copper Contributor
Jun 27, 2022
Status:
New

Add OnSave() and OnClose() event handlers to Javascript based Office Add-in

Please add OnSave() and OnClose() event handlers to Javascript based Office Add-in. 

One of the Scenario is, When user works on an Excel or a word document, We need to capture few user information and make an API call to store it in our database. We need this to work in background. In this case, OnSave() or OnClose() handlers would be very useful.

4 Comments

  • MuraliMaddu's avatar
    MuraliMaddu
    Copper Contributor

    This is an important featire that's available in VSTO but not in Web add-in and very much interested in having this.

  • darshanm355's avatar
    darshanm355
    Copper Contributor

    We also need these events, including the onBeforeClose event for Word and custom modals when the user clicks the native close (X) button. These events are essential, especially when working with private cloud-based and Saas based solutions.

  • pobernuefemann's avatar
    pobernuefemann
    Copper Contributor

    This is a critical piece to allow MS users to leverage third party integrations, including in the new Outlook and Teams platforms.

  • ron_vos's avatar
    ron_vos
    Copper Contributor

    We need this to do a scan on the document for our add-in before the document closes.