'Save Microsoft Document(s) Java script API for desktop add-ins
Web versions for MS Office word, excel, power point documents are saved automatically online(even document name is not saved). Is there any common Java script API available for add-in's to save desktop versions word, excel, power point documents with default file name(without save as)?
Solution 1:[1]
Yes, there is. For example, in Excel web add-ins you can use the save(saveBehavior) method where you could pass the save value which allows to save the workbook without prompting the user. If file is not saved, it will save it with default name in the default location.
You can file a new feature request at https://aka.ms/M365dev-suggestions for other Office applications (Excel and PowerPoint).
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 |
