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
- MuraliMadduCopper Contributor
This is an important featire that's available in VSTO but not in Web add-in and very much interested in having this.
- darshanm355Copper 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.
- pobernuefemannCopper Contributor
This is a critical piece to allow MS users to leverage third party integrations, including in the new Outlook and Teams platforms.
- ron_vosCopper Contributor
We need this to do a scan on the document for our add-in before the document closes.