AhmedVali
AhmedVali

Reputation: 195

Execute addin function automatically on startup

I have searched through and as a final resort i am heading to the experts here.

I would like to know if the below are possible or may be possible in future roadmap

  1. Expected date for Document.open() to available ? 2.Is there any way to open and edit(in office online) a document which is in One Drive.
  2. Can we execute any addin functions as soon as the document is opened without actually launching the addin ?

Thanks Ahmed

Upvotes: 0

Views: 425

Answers (2)

Shawn Niu
Shawn Niu

Reputation: 36

Another alternative is using graph to reach out to the file and make some editing.

Here is the reference.

https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/resources/excel

Let us know if it fulfilled your requirements.

Upvotes: 1

Juan Balmori
Juan Balmori

Reputation: 5046

There is no such event as of now, please vote in our userVoice channel.

That been said, you have one alternative for this, it’s called our auto open task pane feature.

https://learn.microsoft.com/en-us/office/dev/add-ins/design/automatically-open-a-task-pane-with-a-document

You need to open a task pane though, but Please give a try and give us feedback.

Upvotes: 1

Related Questions