Sam Lewis
Sam Lewis

Reputation: 542

Office add-in is not activated on Outlook if open .msg template

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.

Upvotes: 1

Views: 643

Answers (3)

Andrei Petrukovich
Andrei Petrukovich

Reputation: 73

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.

Upvotes: 1

Sam Lewis
Sam Lewis

Reputation: 542

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

Upvotes: 1

user7823505
user7823505

Reputation:

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

Upvotes: 2

Related Questions