Monthly Archives: August 2012

GetDataTable Object Reference Error

Calling the GetDataTable method of a SPListItemCollection object that was retrieved using a join with projected fields will throw the following error: Object reference not set to an instance of an object For example: SPQuery query = new SPQuery(); query.Query … Continue reading

Posted in SharePoint | Tagged | 2 Comments

Create a local term set

SharePoint Short #12 Instead of creating term sets that are available farm wide, it’s also possible to create a term set that is only local to a particular site collection. Create a site column as normal, selecting Managed Metadata type … Continue reading

Posted in SharePoint Shorts, Taxonomy | Tagged , | Leave a comment

PeopleEditor in Bound Control

Having problems updating a dynamically created PeopleEditor control on postback when utilising it in a bound repeating control? The following solution might help you. In the CreateChildControls method of your control create and add a HiddenField control at the same … Continue reading

Posted in SharePoint | Tagged , , | Leave a comment