Monthly Archives: April 2011

Sitecore Include Files – Part 1

Starting with Sitecore 6, settings in the configuration/sitecore section of the web.config can be placed in separate files under the App_Config\Include folder and they will be automatically merged at runtime.  You can check out this link on SDN or this link on Brian Pedersen’s blog for more information.  I won’t duplicate what is already posted, but I would like to provide additional information based on my experiences as well as some “real world” examples.

Posted in Administration, Configuration, Sitecore | 1 Comment

Deploying Lookup Fields in a SharePoint Feature (part one: Lists)

Deploying a list that contains a Lookup field in SharePoint requires a very specific approach. Why are Lookup fields different from other fields? The core issue is that a Lookup field references a list instance’s GUID when the field is created. If you are also creating your list instance as part of the deployment, the list’s GUID is not available because it is not defined by the feature, but instead is assigned automatically during feature activation. Fortunately, there is an easy way to deal with this when you are defining your Lookup fields in a Schema.xml.

Posted in Development, Development, SharePoint 2007, SharePoint 2010 | Leave a comment

Javascript logging to Firebug

In my opinion, the best browser based web development tool currently available is Firebug, a plugin for Firefox.  Firebug allows the user to debug, edit, and monitor any website’s CSS, HTML, DOM, or JavaScript. Today I’m going to focus on the various types of logs Firebug can be used for. In the past, when debugging JavaScript, I’ve used alert(‘something’) or document.write(‘something’) to output information. While this works, logging to Firebug offers a cleaner and more efficient solution. 

Posted in Firebug | Leave a comment

UI messaging in MVC

Handling errors and displaying information back to the user is a common task in developing web applications. Here is a simple way of managing that process.

Posted in .Net, MVC | Tagged , | 2 Comments

Using the SharePoint 2010 Organization Browser in another Web Application

Many people have expressed excitement over the new Silverlight web part known as the Organization Browser in SharePoint Server 2010. The web part uses the Manager field from SharePoint’s User Profiles to build an organizational hierarchy. The organization browser is interactive, in that you can navigate up and down the hierarchy, as well as, left to right to see the colleagues that share your manager. The web part is natively displayed on each user’s My Profile site under the Organization tab. The screenshot below shows the Organization Browser as it exists out-of-the-box on My Profile:


Posted in Administration | Tagged , , | 26 Comments

Visual Studio Tips & Tricks #6

Did you know … how to drag a tool window using the keyboard?

Posted in .Net | Leave a comment