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>

    Thursday, May 21, 2020 2:04 AM

All replies

  • Cross-posted upon my recommendation from the Microsoft Answer's forum.

    I gave suggestions for xml modification sites but he needs something for Office.js.


    Charles Kenyon Madison, WI

    Thursday, May 21, 2020 3:43 AM
  • Hi Venkataram G,

    This forum is for general questions related to Word desktop application.

    Considering the issue is mainly related to development, to help you resolve the issue better, I will move the thread to Word for developers. Thanks for your kind understanding.

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.

    Regards,

    Emily


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Office 2019.

    Thursday, May 21, 2020 9:11 AM