See the code below...
I've highlighted three important groups...
- Grey - This shows that all of my IDs start with BM.SharePoint.Ribbon.NewGroupInExistingTab. This isn't coincidence, it's important to ensure that the ribbon group even shows in the first place. Without this consistency it will not show!
- Yellow - here is what you came for :-) this is how to get a group of buttons into just the Calendar's "Events" tab. If you wanted it in the "Calendar" tab, you'd replace the word "Events" with "Calendar" in all of the yellow highlighted bits
- Aqua blue - The "Command" attribute in the "Button" declaration must be the same as the "Command" attribute in the respective CommandUIHandler section! Otherwise the buttons will do nothing when you click them.
No comments:
Post a Comment