Skip to content

Office.AutoShowTaskpaneWithDocument with shared runtime? #776

Description

@ijoukov1

Question

Hello, we previously had auto-open working by essentially following the example in https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Samples/office-add-in-commands/auto-open-task-pane, and it worked as expected.

However to support some additional functionality like Ribbon commands that execute functions instead of just opening a task pane at a URL, we are converting our add in to use a shared run time. After changing to a shared runtime, the AutoOpen behavior stops working correctly. I am able to get it to open my add in but instead of loading the specified SourceLocation it just seems to be in some sort of error state with a blank add in panel that doesn't even seem to have loaded a browser runtime.

Is auto open supported with shared runtime and ExecuteFunction commands, and if so, are there any special instructions or examples that I could see for how it is different from without a shared runtime?

I should add, even with the shared runtime it Works fine on Office 365 for web, just not on Desktop versions of Word.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions