The save() methods that exists in the API's aren't aren't really very useful. This extends the typical Ctrl+S functionality. It would be great to implement a feature in which it would be possible for us to apply the save() method with a parameter: 'Url/path'. Currently it isn't possible for us to save a document to a specific location nor is it possible for us to load a document from a specific location.
Functions in topic:
- save(string url): apply url/path to where you wish to save the document.
- load(string url): apply url/path to a document you wish to load.
Totally agree! As it is now, the save() function is not very useful, and it would be great to be able to save the excel file to a specific location.
Any updates on this issue?
Dalibor Grudenić commented
100% correct there is no way you can load Office documents like Excel and PowerPoint (only Word is partially supported but opens document in a new window)
This needs to include the same functionality as performing a Save As command, so the new file that is saved is automatically loaded, just like with the current VSTO Save As feature.
Nicolas Piccolo commented
I agree with this suggestion !
Really need this kind of function.
Fede Alessio commented
I like this option!!
I agree also with this. Specially with load()
Lloyd A Charlier commented
Couldn't agree more. We currently develop addins for the entire Office suite (using .NET and VSTO) that enable users to load/save documents to/from a 3rd-party content management system. We would love to provide this same functionality using Office.js but have hit this wall. Please add!