Ribbon tab for the Calendar list only

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

Ribbon tab for the Calendar list only
 
This forum has moved to a new location. From now on, please post all your questions about Ribbon Designer for SharePoint on this forum.
Mark Lee




Posts: 4
Joined: 2012-01-11
Hi,

I need to add my tab to Calendar list only. Cannot find it under ItemType > Lists. There is a ContactsList there but no CalendarList. Can I do this using your solution?
Posted 13 Jan, 2012 05:40:56 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Mark,

Please use 106 in the ItemType property.
Posted 13 Jan, 2012 06:02:51 Top
Mark Lee




Posts: 4
Joined: 2012-01-11
Thanks, it works. But why that number? Why didn't you simply add a "CalendarList" to the ItemType suggested values?
Posted 13 Jan, 2012 07:14:53 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Mark,

Sergey, as the core developer of the product, knows all IDs of all SharePoint nuts and bolts by heart. 106 is in fact the ID of a Calendar list. You can do the same in a more developer-friendly fashion by choosing Events as the value for the ItemType property.
Posted 13 Jan, 2012 09:23:15 Top
Mark Lee




Posts: 4
Joined: 2012-01-11
Thanks, I decided to add my own groups to the Calendar.Calendar and Calendar.Events contextual tabs instead of adding a custom tab because these context tabs are activated automatically when the user works with calendar items. One question, where can I get the sequences for all standard SharePoint ribbon groups? I need to place my groups before the Manage and Manage Views groups.
Posted 16 Jan, 2012 04:15:06 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Mark,

The Sequence attribute of default SharePoint groups and controls starts from 10 and then is incremented by 10, i.e. Sequence of the first group is 10, of the second - 20 and so on.

You can find all the default sequences and other useful information in the CMDUI.XML file. The file is located here: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\GLOBAL\XML\.
Posted 16 Jan, 2012 05:36:55 Top