In my previous entry on SharePoint and PowerShell I promised I’d show you how to implement custom commandlets for Master Page manipulation. SharePoint 2010 ships with a wide array of commandlets, but none of them seem applicable here. This should also serve as a nice generic example on how to implement simple commandlets.
In order to…
Read more »
Recently I found myself in a phase of development, where I would try out some modifications to content types, notice that they weren’t what I wanted, and then re-do the entire web application from scratch to make sure my next modifications would be picked up by SharePoint. As you can probably imagine, doing that via the administrative interface got old quickly, so I decided I’d do my best to automate the process.
Read more »
Just recently we came across a case where we needed to share a single page layout between three different content types. The visible meta data fields for all three content types were the same, and creating several identical page layouts felt wrong. Fortunately, SharePoint supports the scenario. Less fortunately, the documentation is a little sparse.
For a…
Read more »
We discussed an approach for creating Web Parts backed by a single user control in a previous post. While the approach works, it’s not quite perfect yet.
First, it requires repeating a bunch of boilerplate code that should be neatly abstracted away, if possible. Second, the part where the user control…
Read more »