Development

Retrieving values of Managed Properties in SharePoint 2013 Search REST API

Having just spent the best part of a day trying to figure out how to query values of Managed Properties within a SharePoint 2013 App using the new Search REST API, I thought I would share with you how it’s done. There is a real lack of decent MSDN documentation…

Deploying Nintex Workflow Custom Action with Multiple Web Front End’s

After quite a break from doing any Nintex development I was required to write a custom Workflow Action for a client. I broke out the Nintex SDK to remind myself how to do this and wrote my action. I debugged and tested the action on my dev VM and got…

The User Information List – a really valuable resource!

The SharePoint ‘User Information List’ is an often ignored hidden SharePoint list. When a user is added to a SharePoint site their details are copied into the list. It’s really easy to forget its there and it can be a valuable resource when developing in the sandbox. The other day…

Overwriting Fields/Content Types in Elements.xml

I only spotted this the other day – the Elements.xml contains an ‘Overwrite’ attribute. I was provisioning a custom Content Type and some Site Columns but when activating the feature it failed. The error message was that the Content Type already existed in the site – see screenshot below.  …

SPGridView paging controls not displaying

  I’ve been meaning to blog this for a while so here goes. Recently I was working on a web part which contained an SPGridView. The SPGridView had been setup to allow paging but when I deployed the web part the paging controls would not display. Eventually after some playing…

SharePoint Web Part Properties Error when class not Serializable

  I came across an issue the the other day when adding a web part property to a SharePoint 2010 web part. My web part property was a List<> of a custom class and I was updating this property using a custom editor part. I packaged and deployed the web…

Visual Studio SharePoint Event Receiver SPI Bugs

I have been doing a fair amount of SharePoint 2010 development recently, a lot of this with event receivers. The new SPI (SharePoint Item) functionality in VS2010 is great and long gone are the days of creating Elements xml files manually. Although it isn’t all sunshine and roses as I…

Cannot use an UpdatePanel in a SharePoint 2010 Sandbox Solution

I have been working on a SharePoint 2010 web part recently that uses an EditorPart to allow the users to set some properties for the web part. I wanted to use an UpdatePanel within the EditorPart to avoid postbacks and as I understood it the SharePoint 2010 masterpages already have…

A few bugs I noticed when using Visual Studio 2010 SharePoint Project Items (SPI’s)

I’ve finally managed to find time recently to get stuck in to some SharePoint 2010 development. I have started work on a Silverlight application for ID which will interact with SharePoint and run in an out of the box ‘Silverlight Web Part’ (more on this soon!). I had a number…