0
votes

I have created a vsto Addin where I want to show a Ribbon control on Inbox window and when the user clicks reply in same window(not in pop out window). I was able to set the addin to load on Outlook compose and reply pop out windows.

I tried to set the property controlId as TabMail and selected RibbonType property (selected everything, just tried hopping one of those will work )

Any one have a solution

1

1 Answers

2
votes

Do you get any Ribbon UI errors?

By default, if an 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.

To show VSTO Add-in user interface errors 1. Start the application. 2. Click the File tab. 3. Click Options. 4. In the categories pane, click Advanced. 5. In the details pane, select Show VSTO Add-in user interface errors, and then click OK.

For Outlook, the Show VSTO Add-in user interface errors checkbox is located in the Developer section of the details pane. For other applications, the checkbox is located in the General section of the details pane.

Most probably the TabMail id doesn't exist in all contexts and you get an UI error. So, a custom UI is not shown finally. Am I right?