Office JS Save and Close methods for Word, Excel and PowerPoint
Hi Wenjun Gong,
Thank you for following up and asking.
This is a key requirement for document/file automation through the Office JS Add-in platform.
For example, I have some files in Word and in PowerPoint that are used as templates. The end-user wants to make some automations (eg. include information in both the docx and pptx files), then save them programmatically to a cloud location as PDFs, and then close all editable local docx and pptx files automatically when the process finalizes without saving the local files.
We have many use cases like this (happy to tell you more information if you need it) and I am sure many other Office JS developers would welcome these save and close APIs. Today, we still need to maintain older COM/VSTO add-ins, only because we those APIs are not available in JavaScript yet.
Please let us know for any additional information you might need, we would really welcome that Microsoft adds those APIs.
Thank you,
Jaime