SharePointRSS.com to the rescue


So you’ve deployed WSS 3.0 or SharePoint 2010 Foundation and would like to syndicate feeds from the web. You quickly realise that the RSS Viewer web part is not available.

What to do?

Enter SharePointRSS.com (http://skynet.cloudapp.net/).  This little gem of a site takes your RSS feed and spits out a DWP for ease of use on your site.  In essence it uses an XML Viewer web part with customized XSLT.  Now you can code the XSLT yourself, but why do it when there is a free generator online?

Big ups to the guys (or ladies) that have created this.  It will for sure assist our basic Foundation deployments.

Enforcing unique values of an SPField programmatically


I needed to set the ‘Enforce Unique Values’ property of an SPField programmatically, but attempting to do so threw the following exception:

“This field must be indexed to enforce unique values.”

So apparently in order for this property to be set, I needed to index this field. To do this I simply used the SPFieldIndexCollection.Add() method (your list object has a FieldIndexes property) and the problem was solved. I could now set EnforceUniqueValues to true, and I was happy once again.