Add ribbon button in Outlook 2007

Add-in Express™ Support Service
That's what is more important than anything else

Add ribbon button in Outlook 2007
 
François Gaumond




Posts: 103
Joined: 2007-09-21
I'm trying to add a new ribbon button in the Outlook Mail composer and The only I've figured out to do this is to create either a new tab or add a quickmenu toolbar which both case delete the default ribbon tab which I do not want.

Do you have an example of adding a simple ribbon button to the default toolbar.

Thanks
Posted 30 May, 2008 12:24:07 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hi Fran?ois,

You can't add a button to a built-in Ribbon tab. However, you can add a custom group to the built-in tab. You need to set a correct value to the IdMso property of your tab component. See how I do this at http://www.add-in-express.com/creating-addins-blog/2008/03/14/office-2007-ribbon-ui/.


Andrei Smolin
Add-in Express Team Leader
Posted 02 Jun, 2008 09:22:54 Top
François Gaumond




Posts: 103
Joined: 2007-09-21
I've tried a lot of things without any success. I'm trying to add a new button in mailcompose in the TabNewMailMessage ribbon tab.

Here's the step I've done :

Add a new AdxRibbonTab and change it's IdMso to TabNewMailMessage

In this tab I've add a new group and set it's property InsertBeforeIdMso to 12597 (which is GroupClipboard)

In this group I've add my button.

I've also try to change the IdMso of the group to GroupClipboard without any success.

Is there something I miss ?

Thanks a lot
Posted 03 Jun, 2008 15:35:16 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11

I've just created such a button using the following properties:

AdxRibbonTab:
IdMso = TabNewMailMessage

AdxRibbonGroup:
InsertBeforeIdMso = GroupClipboard
Ribbons = OutlookMailCompose

I haven't changed any other property.

You can send me your add-in module to the support e-mail address. Please find it in readme.txt.


Andrei Smolin
Add-in Express Team Leader
Posted 03 Jun, 2008 16:03:47 Top
François Gaumond




Posts: 103
Joined: 2007-09-21
Thanks.

I've put the id instead of the name in the IdMso.

It works now
Posted 03 Jun, 2008 17:18:51 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hi Fran?ois,

Ok. But where did you find 12597 mentioned above?


Andrei Smolin
Add-in Express Team Leader
Posted 04 Jun, 2008 11:46:00 Top