Category: SharePoint

Powershell, SharePoint Solutions, and Waiting for Deployment

Powershell, SharePoint Solutions, and Waiting for Deployment

When installing SharePoint solution packages using Powershell, you’ll need to wait for the solution to be installed after calling install-spsolution before you can enable features using enable-spfeature.  As a part of an automated script, you’d like for the script to...

WCF Data Services Cheat Sheet

WCF Data Services Cheat Sheet

I was working with some SharePoint REST queries and couldn’t find a good list of the operations supported by the REST API.  Namely, I was trying to figure out if it supported a “contains” operation (it does using indexof). I...

SharePoint Content Type Lifecycle Management

That’s just a fancy term for updating content types via feature upgrades. In SharePoint 2010, there’s a new UpgradeActions element and a handy new AddContentTypeField element as well. There are a couple of good blog posts that discuss this topic...

Updating User Fields via ListData.svc

Updating User Fields via ListData.svc

Just putting this out there since I didn’t find any info out there.  If you’re using the ADO.NET REST data services to update user fields, you can’t just set it like so:

You have to do it using a...

Deep Insight on SharePoint Event Receivers

Deep Insight on SharePoint Event Receivers

Not mine, but came across an excellent post by Hristo Pavlov (who unfortunately, no longer works in the SharePoint space). It goes deep into the bowels of the threading model and the considerations one should have when designing custom code...

Getting Version Changes From SharePoint

Getting Version Changes From SharePoint

SharePoint doesn’t provide a straightforward way to do this it seems.  My first crack was to try to leverage the BeforeProperties and AfterProperties in an event receiver, but it turns out that this doesn’t work quite as you would expect...

Most Annoying Thing About SharePoint 2010?

Most Annoying Thing About SharePoint 2010?

I’ve been bashing my head against a SharePoint 2010 solution package for almost 10 hours now across two days.  I mean god forbid Microsoft provides us poor developers with some useful error messages or even a hint of what’s going...

Updating SharePoint Taxonomy Fields

Updating SharePoint Taxonomy Fields

I tripped up on it a bit recently on SharePoint taxonomy fields (or managed metadata fields) as I found that I wasn’t able to push down values from a SharePoint list item to a Word document programmatically in SharePoint. I...