Extending the SharePoint 2010 Ribbon Quick Access Toolbar

SharePoint 2010 includes the Ribbon which makes it easier for users to work with the rich functionality of the SharePoint platform. The Ribbon in SharePoint 2010 also includes a rich extensibility framework which makes it possible for custom solutions to make their functionality available to users. Using the Ribbon extensibility framework you can add all kinds of controls to the Ribbon but is it also possible to extend the Quick Access Toolbar?

Easy hiding content in debug mode with the SiteModeTrimmedControl

While working on an Internet-facing website at some point you might include some code which should be executed only when in production. Probably the most common example of such code are web analytics tracking codes. The last thing you want is to make web analytics count a visit every time you hit F5 on your development machine. Find out how to deal with it other than disabling the Internet connection on your development machine.

Inconvenient SharePoint 2010 mobile redirect

SharePoint 2010 ships with support for mobile devices. Unfortunately it doesn’t work with anonymous users what makes it unsuitable for Internet-facing websites. The real challenge is that there is no easy way of turning it off. While there are some workarounds they are far from ideal. Find out how to properly make SharePoint 2010 support mobile devices on Internet-facing websites.

Sample code: Asynchronously checking if a Ribbon command is available

While extending SharePoint 2010 Ribbon with new functionality one of the common things you do is to check whether a command should be enabled or not. Since the checking function expects you to return a value it can get tricky if your custom checking operation is asynchronous. Find out how to asynchronously check if a Ribbon command is available.

How we did it: mavention.nl – Part 4: Optimizing for the Web

Building Internet-facing websites on the SharePoint platform requires you not only to understand how SharePoint works but also to know what the Web is about and how things work there. In this part of the How we did it series about our brand new website I will show you some things that we implemented to make our website a better Web citizen.