Skip to content

Shared runtime multiple taskpanes not clear #5375

@parched

Description

@parched

Type of issue

Missing information

Feedback

The docs say

Multiple task panes

Don't design your add-in to use multiple task panes if you are planning to use a shared runtime. A shared runtime only supports the use of one task pane. Note that any task pane without a is considered a different task pane.

It is unclear to me if this means

  • if you are using a shared runtime anywhere, you can only have one taskpane anywhere
  • or, only one taskpane can use the shared runtime, the others use the normal runtime.

I have tested that the second option works, I just want to be sure that's what this documentation is saying. e.g.,

...
<Runtime resid="SharedTaskpane.Url" lifetime="long" />
...
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>ButtonId1</TaskpaneId>
                    <SourceLocation resid="SharedTaskpane.Url"/>
                  </Action>
...
                  <Action xsi:type="ShowTaskpane">
                    <TaskpaneId>ButtonId2</TaskpaneId>
                    <SourceLocation resid="NotSharedTaskpane.Url"/>
                  </Action>
...

Page URL

https://learn.microsoft.com/en-us/office/dev/add-ins/develop/configure-your-add-in-to-use-a-shared-runtime?tabs=jsonmanifest

Content source URL

https://github.com/OfficeDev/office-js-docs-pr/blob/main/docs/develop/configure-your-add-in-to-use-a-shared-runtime.md

Author

@o365devx

Document Id

dabd68f4-f474-1f01-0022-b2fe55eaafa3

Platform Id

ff5964b1-54be-6818-441b-5fb8b0ce8d4a

Metadata

Metadata

Assignees

Labels

Area: shared runtimeIssue pertains to shared runtime within Office Add-insNeeds: attention 👋Waiting on Microsoft to provide feedbackType: doc bugProblem with the documentation (e.g., doc is out of date, unclear, confusing, or broken)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions