Context menus for addin in Outlook 2010

D

dan g

Hi Folks,

I'm trying to update my COM outlook addin for Outlook 2010. Specifically,
I'm trying to implement the new ribbon interface in the main explorer. For
the most part all is well. The only thing I can't seem to do is when in the
Mail view, get my own item options under the "New Items" button. The xml I
have succesfully puts in the groups and ribbon buttons I need, but when I try
to put in the xml code to add the context menus, Outlook doesn't like it and
refuses to load the xml at, and I don't see any of my ribbon buttons. See
the xml below and tell me if you see what I'm doing wrong. See specifically
below everythingin the "contextMenus" section. Everything above that works
fine until I add the contextMenus section (this is set from
GetMainRibbonUI()).


<customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
<ribbon>
<tabs>
<tab idMso="TabMail">
<group id="SCOPIAMAINGroup" label="SCOPIA Desktop">
<button id="SCOPMeetingBtnMain" imageMso="MeetingsWorkspace"
screentip="Create SCOPIA Meeting" size="large" label="SCOPIA
Meeting" onAction="MainMeetingRibbonButtonClicked"/>
</group>
</tab>
</tabs>
</ribbon>
<contextMenus>
<contextMenu idMso="MenuMailNewItem">
<button id="MyMenuMailNewItem" label="MenuNewMailItem"
onAction="SettingsRibbonButtonClicked"/>
</contextMenu>
</contextMenus>
</customUI>
 
D

dan g

That was it. I've been going in circles for days, my eye skipped right over
the details of the schema. Thank you!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top