SharePoint 2010

Content Type SPI bug in SharePoint Sandbox Solutions

I seem to have come across what I believe to be a bug when with Content Types in SharePoint 2010 Sandbox Solutions. I believe this bug to be caused by Visual Studio but I haven’t been able to confirm this yet. The issue arises when you provision a Content Type…

Synchronous Event Receivers

SharePoint is a big (massive!) product, there are features and enhancements in SP2010 which I haven’t even used yet – mostly because I haven’t needed to. One of these is the ability to run after events synchronously (ItemAdded, ListAdded and WebProvisioned). Previously all after events were executed asynchronously and on…

Strange goings on with the format of dates in SharePoint Calculated Columns

I came across a weird issue this morning whilst debugging a Web Part. I had a list that stored a date in one column and a Calculated Column that returned a date after applying a formula. The regional settings of the site were set to English (Australia) – see screenshot…

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…

GrantAccessToProcessIdentity – A very handy SharePoint PowerShell command!

I thought I’d do a write up on this one as its something that always catches me out every time I’m configuring a SharePoint farm. If you are setting up services e.g. Excel Services or Office Web Apps then it’s likely you will need to grant the service account running…

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.  …

Slides from my presentation at SUGUK Notts

Here is my slide deck and code from the presentation I did at SUGUK in Nottingham on 23/3/2011. I’ve been meaning to upload these for a while and have finally got round to it. You can find my PowerPoint presentation embedded below – you can also download it directly from…

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…