I would like to load/save a file directly from the local filesystem in Word online (without uploading it to onedrive). Since this is not part of the default functionality I am trying to determine if this would be possible with an addin.
The loading part:
The Document object gives access to body
load
and save
Methods however the documentation is unclear (to me) for load:Fills the proxy object created in JavaScript layer with property and object values specified in the parameter.
It seems there are options available like insertFileFromBase64
and insertOoxml
but unclear if those are only in (Windows) Desktop version or also in Online version. See this question
The saving part:
This seems to be the easier bit as there already is a Download
functionality to get a copy of the document.
Not looking for complete solution, just a "is it possible" and perhaps a few pointers to what methods to use.