none
Word modification of Context Menu not working with word web addin RRS feed

  • Question

  • i am working on word Web Addin and trying to add a button in context menu of word(Right Click Menu). updated Manifest file with ExtensionPoint

    added extension point for context menu in Manifest file, but right click menu is not updated. i am using Visual Studio and Office professional plus 2016.

    added below snippet after node. is there any initialization need to be done. appreciated if any Immediate help

    <ExtensionPoint xsi:type="ContextMenu">
      <OfficeMenu id="ContextMenuText">
                      <Control xsi:type="Menu" id="TestContextMenu">
          <Label resid="MenuLabel" />
          <Supertip>
            <Title resid="MenuTitle" />
            <Description resid="MenuDescription" />
          </Supertip>
          <Icon>
            <bt:Image size="16" resid="icon1_32x32" />
            <bt:Image size="32" resid="icon1_32x32" />
            <bt:Image size="80" resid="icon1_32x32" />
          </Icon>
          <Items>
            <Item id="ContextMenuItem">
              <Label resid="ContextMenuItemLabel"/>
              <Supertip>
                <Title resid="ContextitemSupertip" />
                <Description resid="MenuDescription" />
              </Supertip>
              <Icon>
                <bt:Image size="16" resid="Contoso.tpicon_16x16" />
                <bt:Image size="32" resid="Contoso.tpicon_32x32" />
                <bt:Image size="80" resid="Contoso.tpicon_80x80" />
              </Icon>
              <Action xsi:type="ExecuteFunction">
                <FunctionName>displaySelectedText</FunctionName>
              </Action>
            </Item>
          </Items>
        </Control>
      </OfficeMenu>
    </ExtensionPoint>

    Monday, May 25, 2020 12:57 PM