Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
(with credit to Andrew Connell)
www.sharepointnutsandbolts.com @ChrisO_BrienReal World SharePoint 2010   http://uk.linkedin.com/in/chrisobrienmvp
contextual tab group         tab                                          contextual tabribbon            group           ...
Advantages                   Disadvantages• Easy to create              • If complex, hard to manage• Easy to manage      ...
Advantages                    Disadvantages• External JS library          • Poor JavaScript dev tools• Easier to manage & ...
Global Commands                Focused Command• Always available when on a   • Only available at specific times,  page    ...
SplitButton           ToggleButton   Spinner• Easy default plus   • Off or on    • Select within a  sub-menu              ...
Server side:SPRibbon.MakeTabAvailable   For contextual tabSPList.UserCustomActions    Target an individual listJavaScript:...
http://bit.ly/utr2g8http://bit.ly/uVKABO
SharePoint Ribbon Deep Dive
SharePoint Ribbon Deep Dive
SharePoint Ribbon Deep Dive
SharePoint Ribbon Deep Dive
SharePoint Ribbon Deep Dive
SharePoint Ribbon Deep Dive
SharePoint Ribbon Deep Dive
SharePoint Ribbon Deep Dive
SharePoint Ribbon Deep Dive
SharePoint Ribbon Deep Dive
SharePoint Ribbon Deep Dive
SharePoint Ribbon Deep Dive
SharePoint Ribbon Deep Dive
SharePoint Ribbon Deep Dive
SharePoint Ribbon Deep Dive
SharePoint Ribbon Deep Dive
SharePoint Ribbon Deep Dive
SharePoint Ribbon Deep Dive
SharePoint Ribbon Deep Dive
SharePoint Ribbon Deep Dive
SharePoint Ribbon Deep Dive
SharePoint Ribbon Deep Dive
SharePoint Ribbon Deep Dive
SharePoint Ribbon Deep Dive
Upcoming SlideShare
Loading in …5
×

SharePoint Ribbon Deep Dive

1,958 views

Published on

Customizing the SharePoint 2010 ribbon - adding new tabs/groups/buttons, how to implement commands, advanced ribbon controls, FlyoutAnchor controls.

  • Be the first to comment

SharePoint Ribbon Deep Dive

  1. 1. (with credit to Andrew Connell)
  2. 2. www.sharepointnutsandbolts.com @ChrisO_BrienReal World SharePoint 2010 http://uk.linkedin.com/in/chrisobrienmvp
  3. 3. contextual tab group tab contextual tabribbon group control {template}
  4. 4. Advantages Disadvantages• Easy to create • If complex, hard to manage• Easy to manage • Lots of JavaScript can be• Great for simple commands hard to manage • Not cached on the client • Not reusable outside of the definition
  5. 5. Advantages Disadvantages• External JS library • Poor JavaScript dev tools• Easier to manage & debug • Must be added to the page• Can be minified • More work (build, register &• Allows for greater control initialize on page) over commands • All OO JavaScript • Enable/disable command • Block loss of focus• Reusable across customizations
  6. 6. Global Commands Focused Command• Always available when on a • Only available at specific times, page e.g. when web part has focus• (if CanExecute says it is • Example: Content Editor Web available) Part controls
  7. 7. SplitButton ToggleButton Spinner• Easy default plus • Off or on • Select within a sub-menu range
  8. 8. Server side:SPRibbon.MakeTabAvailable For contextual tabSPList.UserCustomActions Target an individual listJavaScript:RefreshCommandUI() Refresh ribbon, e.g. in async callbackSP.SOD.ExecuteOr Deal with JS dependenciesDelayUntilScriptLoaded()
  9. 9. http://bit.ly/utr2g8http://bit.ly/uVKABO

×