Reputation: 219
I want to customise the ribbon that is displayed when the "Home" tab is clicked in OUtlook 2010 and 2013.
Questions -
I absolutely have no clue where to start from with this. Any links, docs or samples will be helpful. I've been going through msdn but it all speaks of custom ribbon and that doesn't fit my purpose. I need to modify the existing ribbon.
Upvotes: 2
Views: 13063
Reputation: 165
It is possible... by creating a custom ribbon which will in turn be added to the Home tab.
First, create a custom ribbon. Here's an example http://msdn.microsoft.com/en-us/library/ee692172.aspx#OfficeOLExtendingUI_Explorer
Then add:
idMso="TabMail"
to the tab tag on your XML. This will instruct Outlook to add your custom ribbon to Home tab.
Using the link's example, it would be like this:
<ribbon>
<tabs>
<tab id="MyTab"
idMso="TabMail"
getVisible="MyTab_GetVisible"
label="MyTab">
<group label="MyGroup" id="MyGroup">
<button id="MyButton"
size="large"
label="MyButton"
imageMso="HappyFace"
onAction="OnMyButtonClick"/>
</group>
</tab>
</tabs>
If you're using Visual Studio's designer instead of XML, set the ControlId property of your custom ribbon's tab to TabMail. Here's a walkthrough for custom ribbon creation with Visual Studio: http://msdn.microsoft.com/en-us/library/vstudio/bb386104(v=vs.100).aspx
And if you want to place your custom ribbon somewhere other than the Home tab, you'll need to find the locations's MSO ID. Microsoft provides a list which can be downloaded at http://www.microsoft.com/en-us/download/details.aspx?id=6627
Upvotes: 7
Reputation: 21
Yes, an existing ribbon can be modified. Follow the steps given below to customize an existing ribbon in Outlook 2010:
Upvotes: 1