Have you looked at SharePoint 2010 Ribbon yet? It’s a cool feature that in my opinion is not going anywhere .. I’m waiting for it to become part of Visual Studio 20xx, well maybe not that extreme.
One of the really great things about ribbon is that is’s very easy to extend it; way easier than we used to work with menus in SharePoint 2007.
Check out this 7 min screencast to get started. The script I was refering to in my demo is right under this video below:
<?xml version=”1.0″ encoding=”utf-8″?>
<Elements xmlns=”http://schemas.microsoft.com/sharepoint/”>
<CustomAction
Id=”Ribbon.Library.Actions.AddAButton”
Location=”CommandUI.Ribbon”
RegistrationId=”101″
RegistrationType=”List”
Title=”Add a Ribbon Button”>
<CommandUIExtension>
<CommandUIDefinitions>
<CommandUIDefinition
Location=”Ribbon.Library.Share.Controls._children”>
<Button Id=”Ribbon.Library.Share.NewRibbonButton”
Command=”NewRibbonButtonCommand”
Image32by32=”/_layouts/images/PPEOPLE.GIF”
LabelText=”Hello Ribbon”
TemplateAlias=”o2″ />
</CommandUIDefinition>
</CommandUIDefinitions>
<CommandUIHandlers>
<CommandUIHandler
Command=”NewRibbonButtonCommand”
CommandAction=”javascript:HelloRibbon();” />
</CommandUIHandlers>
</CommandUIExtension>
</CustomAction>
<CustomAction Id=”Ribbon.Library.Actions.NewButton.Script”
Location=”ScriptLink”
ScriptBlock=”
function HelloRibbon()
{
alert(‘Hello there, Ribbon v 1.1!’);
}” /></Elements>
Good Luck!