Need to Add Context menu on outlook ReportItem (In terms of outlook users 'Read Receipt')

167 Views Asked by At

I am trying to develop Outlook Add-in for Microsoft Outlook 2013. I have already added context menu on outlook MailItem, DocumentItem. I have done some research regarding context menu on ReportItem (in terms of outlook 'Read Receipt') but I didn't get any idea for the same.

Can anyone help me out to create context menu on outlook Read Receipt (ReportItem) ?

for more details, I have attached few of images regarding my code.

Image represent what I actually want.

This is my Ribbon XML Code Ribbon XML code

Thanks

2

There are 2 best solutions below

0
Pratik Ratanpara On BEST ANSWER

Finally after spending lot's of time on this research and I got solution.

<contextMenu idMso="ContextMenuMailItem">

Using above idmso, I am able to add context menu on Outlook ReportItem.

2
Eugene Astafiev On

Looks like you just need to find a correct idMso value. Try the following markup:

<contextMenus>    
   <contextMenu idMso="ContextMenuReportItem">
      <button id="MyContextMenuReportItem"
        label="ContextMenuReportItem"
        onAction="OnMyButtonClick"/>
   </contextMenu>  
</contextMenus>

Read more about that in the Extending the User Interface in Outlook 2010 article.

The Fluent UI (aka Ribbon UI) is described in depth in the following series of articles: