OfficeDev / OfficeDev/office-js

Context menu not showing up in excel page break preview

Open
#5,437 0 comments 0 reactions 3 assignees View on GitHub

@sankalpmadaan is already working on this.

Since Jul 8, 2026.

Area: Excel Needs: attention :wave:
Dominant language
JavaScript
Stars
845
Forks
124
Avg merge
3d 17h
Merged PRs (30d)
1

Description

Implemented custom context menu in excel angular addin for taskpane addin, the context menu shows up when excel is in normal view but it is not showing up when excel is in page break preview mode

Your Environment

  • Platform : Desktop
  • Host : Excel
    • Office version number: Version 2501 Build 16.0.18429.20132
  • Operating System: windows
  • Browser

The context menu should show up in excel page break preview as well

This is how context menu is configured in excel manifest:

<ExtensionPoint xsi:type="ContextMenu">
            <OfficeMenu id="ContextMenuCell">
              <Control xsi:type="Menu" id="73StringsCustomMenu">
                  <Label resid="73StringsCustomMenu.Label" />
                  <Supertip>
                    <Title resid="73StringsCustomMenu.Label" />
                    <Description resid="73StringsCustomMenu.Tooltip" />
                  </Supertip>
                  <Icon>
                    <bt:Image size="16" resid="73s-Logo.16x16" />
                    <bt:Image size="32" resid="73s-Logo.32x32" />
                    <bt:Image size="80" resid="73s-Logo.80x80" />
                  </Icon>
                <Items>
                  <Item id="MenuGetWizardBuilder">
                      <Label resid="GetWizardBuilder.Label"/>
                      <Supertip>
                        <Title resid="GetWizardBuilder.Label" />
                        <Description resid="GetWizardBuilder.Tooltip" />
                      </Supertip>
                      <Icon>
                        <bt:Image size="16" resid="GetWizardBuilder-16" />
                        <bt:Image size="32" resid="GetWizardBuilder-32" />
                        <bt:Image size="80" resid="GetWizardBuilder-80" />
                      </Icon>
                      <Action xsi:type="ExecuteFunction">
                        <FunctionName>GetWizardBuilder</FunctionName>
                      </Action>
                  </Item>
                  <Item id="MenuGetListWizardBuilder">
                      <Label resid="GetList.Label"/>
                      <Supertip>
                        <Title resid="GetList.Label" />
                        <Description resid="GetList.Tooltip" />
                      </Supertip>
                      <Icon>
                        <bt:Image size="16" resid="GetList-16" />
                        <bt:Image size="32" resid="GetList-32" />
                        <bt:Image size="80" resid="GetList-80" />
                      </Icon>
                      <Action xsi:type="ExecuteFunction">
                        <FunctionName>GetListWizardBuilder</FunctionName>
                      </Action>
                  </Item>
                  <Item id="MenuPushWizardBuilder">
                      <Label resid="PushWizardBuilder.Label"/>
                      <Supertip>
                        <Title resid="PushWizardBuilder.Label" />
                        <Description resid="Push.Tooltip" />
                      </Supertip>
                      <Icon>
                        <bt:Image size="16" resid="Push-16" />
                        <bt:Image size="32" resid="Push-32" />
                        <bt:Image size="80" resid="Push-80" />
                      </Icon>
                      <Action xsi:type="ExecuteFunction">
                        <FunctionName>PushWizardBuilder</FunctionName>
                      </Action>
                  </Item>
                  <Item id="MenuDataTrace">
                      <Label resid="DataTrace.Label"/>
                      <Supertip>
                        <Title resid="DataTrace.Label" />
                        <Description resid="DataTrace.Tooltip" />
                      </Supertip>
                      <Icon>
                        <bt:Image size="16" resid="DrillDown-16" />
                        <bt:Image size="32" resid="DrillDown-32" />
                        <bt:Image size="80" resid="DrillDown-80" />
                      </Icon>
                      <Action xsi:type="ExecuteFunction">
                        <FunctionName>MonitoringDataTrace</FunctionName>
                      </Action>
                  </Item>

                  <Item id="MenuDrillDown">
                      <Label resid="DrillDown.Label"/>
                      <Supertip>
                        <Title resid="DrillDown.Label" />
                        <Description resid="DrillDown.Tooltip" />
                      </Supertip>
                      <Icon>
                        <bt:Image size="16" resid="DrillDown-16" />
                        <bt:Image size="32" resid="DrillDown-32" />
                        <bt:Image size="80" resid="DrillDown-80" />
                      </Icon>
                      <Action xsi:type="ExecuteFunction">
                        <FunctionName>TxDrillDown</FunctionName>
                      </Action>
                  </Item>
                </Items>
              </Control>
            </OfficeMenu>
          </ExtensionPoint>

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.