Setting Initial Ribbon Tab on a Page
Posted
Thursday, March 04, 2010 10:05 PM
by
Itay Shakury
When you link to a page in SP 2010, you can predefine which tab will show up as default when the page loads.
You can do this by adding a query string parameter called “InitialTabID” to the URL of the page.
the Value is any valid tab ID that exists on the destination page.
If you want to know what are the ID’s of the default tabs that comes with SharePoint, Take a look at “14\TEMPLATE\GLOBAL\XML\CMDUI.xml” in your “14 Hive”.
So Let’s say you want to link to an events list, and you want the users to automatically see the “Calendar” tab so they can interact with the calendar list, Your URL should look like this:
http://MyServer/MySite/Lists/Calendar/calendar.aspx?InitialTabID=Ribbon.Calendar.Calendar
And as a result, the page will load up in this ribbon state:
