Reusable Content in SharePoint Publishing HTML Fields, Part 1

In one of the sprints last year for my current project, I built a custom “document publishing” system based on the Web Content Management (WCM) features in Microsoft Office SharePoint Server (MOSS) 2007. My client was looking to replace a legacy system used to create Microsoft Word documents that are essentially “standard operating procedures” for…


Localization and SharePoint Solutions, Part 3 (a.k.a. use field IDs whenever possible)

In part 1 of this series, I mentioned that one of the options for creating SharePoint sites in multiple languages is to install the corresponding SharePoint language packs prior to creating the sites. This is the most common deployment scenario for localization. [An alternative localization approach that we used years ago on the Agilent Technologies…


RecoverableException for .NET Framework Solutions

Do you remember the good ol’ days before the ApplicationException class in the .NET Framework became “persona non grata”? I sure do. If you were to look at .NET code that I wrote years ago, you’d probably see ApplicationException being used all over the place. After all, this seemed like a great way to differentiate…


Localization and SharePoint Solutions, Part 2 (a.k.a. the CurrentUICultureSwitcher class)

In part 1 of this series, I mentioned how I’ve been involved in several SharePoint projects for large, multinational corporations including Agilent Technologies and KPMG. I also mentioned how one of the sprints last year for my current project was dedicated to creating a Spanish version of a “Client Portal” based on Microsoft Office SharePoint…


Upgrading a Custom MOSS 2007 Solution to SharePoint Server 2010

In yesterday’s post, I provided a custom SharePoint Server 2010 solution based on Dan Cederholm’s sample site for the fictitious Tugboat Coffee company (from his book Handcrafted CSS : More Bulletproof Web Design). Since I had originally “ported” the Tugboat site to Microsoft Office SharePoint Server (MOSS) 2007, most of the effort in getting the…


Web Standards Design with SharePoint, Part 4

In part 2 of this series, I provided a sample Microsoft Office SharePoint Server (MOSS) 2007 solution based on Dan Cederholm’s Tugboat sample site (from his most recent book, Handcrafted CSS : More Bulletproof Web Design). Ever since then, I’ve been meaning to upgrade my sample to SharePoint Server 2010, but too many other priorities…

1

Virtual Machine Snapshots and SharePoint Development, Part 2

In part 1 of this post, I introduced the way I use VM snapshots to allow me to quickly rollback my SharePoint development VMs to key points in time. For example, I can quickly revert to a “baseline SharePoint Server 2010 configuration” in which no Web applications have been created (besides Central Administration) and the…


Virtual Machine Snapshots and SharePoint Development, Part 1

In a comment I made last week on one of my earlier posts, I mentioned how a few months ago I started using Hyper-V snapshots so I can quickly rollback my SharePoint development VMs to key points in time. The following screenshot shows the snapshots for my primary SharePoint Server 2010 development VM (FOOBAR5): Figure…


Using the Simple Recovery Model for SharePoint Development Environments

A little more than three years ago, I blogged about the default recovery model for various SharePoint databases. In that post, I described how I would often toggle the SQL Server databases in SharePoint development environments from the default Full recovery model to Simple before migrating content. Since you typically don’t care about potential data…


Creating Small VHDs (< 1GB) for Hyper-V

In my previous post, I explained how I like to create separate VHDs for data and log files in my SharePoint development VMs. However, given the very small amount of content that I typically load into a SharePoint development environment, these VHDs certainly don’t need to be very large. In the past, I’ve typically created…