Digambar Malla
Digambar Malla

Reputation: 335

Outlook AddIn not displayed in Message Tab

I have created a Outlook Addin which is added to Home Tab in Outlook. I followed the below link : Outlook addin Home tab with custom button

It is working fine in Home Tab, but when I see the particular mail in a new window i.e Message Tab, the Addin is not visible.

Below are screenshot for the same (Green color Create Note)

enter image description here

But after I double click the mail, the button is not displayed in Message Tab:

enter image description here

I require to copy the mail body when I click the CreateNote button, So I need that button also in Message Tab.

Any suggestion ?

Solution:

After input from below and analysis I found it's better to create two separate ribbon :

one for Home Tab(set ribbon type to outlook.explorer) and another for message Tab(set ribbon type to outlook.mail.read) and I have to set OfficeId of Ribbon Tab different (for Explorer-->TabMail and for Read-->TabReadMessage)

It solved my problem...

Thank u everyone :)

Upvotes: 2

Views: 1691

Answers (1)

Eugene Astafiev
Eugene Astafiev

Reputation: 49395

You need to choose appropriate values for the RibbonType property:

enter image description here

  • Microsoft.Outlook.Mail.Compose or
  • Microsoft.Outlook.Mail.Read

Upvotes: 2

Related Questions