Office-js: Same TaskpaneId for different actions does not work on Office for Mac 16.14.1

Created on 26 Jun 2018  路  3Comments  路  Source: OfficeDev/office-js

Use of same TaskpaneId for different actions that share the same pane does not work on Office for Mac 16.14.1 (180613).

Here is a snippet of current Manifest:

            <Control xsi:type="Button" id="Team.OpenCommand">
              <Label resid="Team.OpenCommand.Label" />
              <Supertip>
                <Title resid="Team.OpenCommand.TipTitle" />
                <Description resid="Team.OpenSupertip.Desc" />
              </Supertip>
              <Icon>
                <bt:Image size="16" resid="Team.Icon.Open.16" />
                <bt:Image size="32" resid="Team.Icon.Open.32" />
                <bt:Image size="80" resid="Team.Icon.Open.80" />
              </Icon>
              <Action xsi:type="ShowTaskpane">
                <TaskpaneId>Taskpane1</TaskpaneId>
                <SourceLocation resid="Team.Open.Url" />
              </Action>
            </Control>
            <Control xsi:type="Button" id="Team.SaveCommand">
              <Label resid="Team.SaveCommand.Label" />
              <Supertip>
                <Title resid="Team.SaveCommand.TipTitle" />
                <Description resid="Team.SaveSupertip.Desc" />
              </Supertip>
              <Icon>
                <bt:Image size="16" resid="Team.Icon.Save.16" />
                <bt:Image size="32" resid="Team.Icon.Save.32" />
                <bt:Image size="80" resid="Team.Icon.Save.80" />
              </Icon>
              <Action xsi:type="ShowTaskpane">
                <TaskpaneId>Taskpane1</TaskpaneId>            
                <SourceLocation resid="Team.Save.Url" />
              </Action>
            </Control>

While on Windows version of Office same manifest will work and load different url in same taskpane on Mac you need to close taskpane and then click the button to load different url.

Environment

  • Platform: Mac
  • Host Excel, Word, PowerPoint
  • Office version number: 16.14.1
  • Operating System: High Sierra 10.13.5
add-ins platform Needs fix pending

Most helpful comment

This will be fixed in the August Office update

All 3 comments

This will be fixed in the August Office update

Nice. Much appreciated.

@Zlatkovsky Can you provide current status on this? Thanks.

Was this page helpful?
0 / 5 - 0 ratings