Displaying default tab in Sharepoint 2010 Ribbon
As part of implementing Sharepoint 2010 for a Norway based ISV , users from customer side came up with a interesting requirement involving the Ubiquitous Sharepoint 2010 Ribbon. Though the users found the Ribbon intuitive they felt that getting to the Ribbon on a document library page is difficult and requires multiple clicks. They wanted the document ribbon to be selected when a user visits the document library page.
We found a easy workaround for setting the default tab by using query string parameters. The document library and list pages in Sharepoint 2010 accepts the below parameters
InitialTabId – The Id of the tab in ribbon that should be activated on initial load for example Ribbon.Document
By appending the above parameters to query string of document library and list pages the desired tab in ribbon can be activated.