cody-lettau
Aug 26, 2022Brass Contributor
Status:
New
Expose "save" event in Office.js across platforms
Office.js should expose save events that allow add-ins to take an action before the document actually gets saved. This is especially an issue when using such platforms like Word in the browser, w...
cody-lettau
Dec 15, 2022Brass Contributor
Hi Yun_Wang - I think the best approach would be that an event is fired prior to the actual save occurring so that an add-in can do any pre-processing desired to the content and file data prior to it being saved to the server.
In our use case, we never want the unencrypted document to be saved to the server. This is for obvious reasons if the goal is data security/privacy. So in this case, we would want to be able to be notified when a save is about to occur, encrypt the document, and have that encrypted version saved to the server.