Office add-in is not activated on Outlook if open

2019-04-02 16:10发布

My add-in has a MessageComposeCommandSurface ExtensionPoint that adds a button to the ribbon when the user is composing a message and MessageReadCommandSurface for the read mode.

I expected the button to always be enabled when it is visible (e.g. when the user is composing a new message or replying to an existing one).

Works perfectly, but my add-in is greyed out/disabled when opening a template (save a message as a template and open .msg file with outlook).

  1. Add-in is greyed out if .msg was saved from composing mode.
  2. Add-in is disabled if.msg was saved from read mode.

Does anyone know the why an add-in ribbon button is greyed out/disabled when opening a .msg template (open in a read mode)? At the same time, add-in is available when reply/forward, etc. for just opened .msg template.

3条回答
Deceive 欺骗
2楼-- · 2019-04-02 16:25

Add-ins are grayed out/disabled because they are not supported in .msg files nor in message templates.

查看更多
成全新的幸福
3楼-- · 2019-04-02 16:34

Solution: Also you can move *.msg files to folders. Click on the Tab File -> Move to Folder ->Copy to Folder choose particular folder. When msg was moved to folder go to your outlook and add-in is available. I hope that was useful for you.

查看更多
该账号已被封号
4楼-- · 2019-04-02 16:39

Add-in is enabled for Outlook Template (*.OFT), so need to open and save the message as outlook template with .oft format.

查看更多
登录 后发表回答