Programmatically adding Web Parts to Rich Content in SharePoint 2010

SharePoint 2010 ships with the great ability of adding Web Parts to content areas. This allows you to easily extend your content with dynamic elements providing your users with richer experience. Similarly to using Web Parts with Web Part Zones you should include Web Parts in Rich Content in your structured and repeatable deployment. There are however a few differences in how you provision Web Parts to Rich Content and knowing how it all works can make your life easier.

No-code content targeting in SharePoint 2010

No-code SharePoint solutions became very popular in the last two years. Having virtually no deployment boundaries they are ideal for power users to enhance their sites with new dynamic functionality. While SharePoint 2007 already allowed us to do some great stuff with no-code solutions, thanks to the JavaScript Object Model provided with SharePoint 2010 we can make even richer solution without a single line of server-side code. And while retrieving information from SharePoint is pretty cool, being able to target it to your users is what it takes to use no-code solutions on Internet-facing websites.

4 ways to use short URLs with SharePoint Server 2010

Many customers who use SharePoint Server 2010 for their Internet-facing website, ask for a mechanism that would allow them to use short URLs like http://www.awt.com/edinburgh instead of http://www.awt.com/destinationguides/uk/scotland/edinburgh/. SharePoint 2010 doesn’t have such mechanism out of the box and if you know SharePoint at least a little, you know that there is always more than one way to get something done. So what are the possibilities and which one of them is the best to use?

Easy access to SharePoint Central Administration for developers

One of the places you visit on regular as a SharePoint developer is Central Administration. From there you can deploy Solutions, create Web Applications and Site Collections and Manage Service Applications. And although most developer spend a fair amount of time in Central Administration it’s quite surprising that the only way to get there is either by memorizing a random port or using the shortcut from the Start menu. But there is a better way.

Better conditional content for anonymous users with LoginView

SharePoint 2010 ships with the SPSecurityTrimmedControl that allows you to conditionally display content to users based on their permissions. On top of that it gives you the ability to display content to anonymous/authenticated users only which unfortunately doesn’t work. And although you might want start off and develop something of your own, it turns out that for all this time there was a solution for this just around the corner.