Reputation: 11
New here so please forgive any faux pas!
I have an Outlook VSTO Add-in
with a custom ribbon which I currently display only on composing a new message or replying to a message.
I've selected Microsoft.Outlook.Mail.Compose
and Microsoft.Outlook.Mail.Read
in RibbonType
, and my ribbon appears fine on creating a new message or replying, but not when I go to Sent and open a message.
Can anyone point me in the right direction as to where I can find a list of the RibbonTypes
and what they relate to, or offer any advice?
Thanks!
Upvotes: 1
Views: 137
Reputation: 49455
Most probably you get a Fluent UI error.
By default, if a VSTO Add-in attempts to manipulate the Microsoft Office user interface (UI) and fails, no error message is displayed. However, you can configure Microsoft Office applications to display messages for errors that relate to the UI. You can use these messages to help determine why a custom ribbon does not appear, or why a ribbon appears but no controls appear. See How to: Show Add-in user interface errors for more information.
You could use any idMso
value which exists on the compose window and doesn't exist on the read inspector.
Upvotes: 0