question

MiikkaLaakso-6693 avatar image
0 Votes"
MiikkaLaakso-6693 asked MiikkaLaakso-6693 answered

How to open existing document with Office JS API

Is there a way to open existing document with Office JS API (Word, Excel, PowerPoint) as we can open new document with stream? If there is no API support, is there protocol URLs which we could use (in desktop/browser win/mac) to accomplish this?

Our use case is that we automate document saving process so that document is stored to predefined location. After this is done, we need to open this copy for user.

office-addins-devoffice-js-dev
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@MiikkaLaakso-6693 I'm not aware of a way for you to do this using Office.js API. I'm checking with the team to see if they're aware of a way to do this.

0 Votes 0 ·
MiikkaLaakso-6693 avatar image MiikkaLaakso-6693 ElizabethSamuelMSFT-6119 ·

Please create issue for this and raise priority. It would be very useful addition to Office API (Word, Excel, PowerPoint).

0 Votes 0 ·

1 Answer

MiikkaLaakso-6693 avatar image
0 Votes"
MiikkaLaakso-6693 answered
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.