• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
SharePoint Ribbon Deep Dive
 

SharePoint Ribbon Deep Dive

on

  • 1,889 views

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

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

Statistics

Views

Total Views
1,889
Views on SlideShare
1,883
Embed Views
6

Actions

Likes
1
Downloads
13
Comments
0

2 Embeds 6

http://www.linkedin.com 5
https://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Parent control won’t appear.Error “MenuSections can only have children of type MenuItem, Gallery or GroupPopup. - will get error below”No options appearOtherwise no options appear!

SharePoint Ribbon Deep Dive SharePoint Ribbon Deep Dive Presentation Transcript

  • (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 control {template}
  • 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
  • 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
  • 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
  • SplitButton ToggleButton Spinner• Easy default plus • Off or on • Select within a sub-menu range
  • 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()
  • http://bit.ly/utr2g8http://bit.ly/uVKABO