Category Archives: SharePoint

Writing testable SharePoint code: New Zealand and Australian SharePoint Conferences

This year I was lucky enough to be invited back to present at the New Zealand and Australian SharePoint Conferences, this time on “Writing Testable SharePoint Code”. As promised in my sessions here is the slide deck and, more importantly, … Continue reading

Posted in Conferences, Development, SharePoint, Visual Studio | Leave a comment

Setting up Visual Studio 2012 for SharePoint 2013

VS2012 Update 1 is great it adds the Microsoft Fakes framework for stubbing out SharePoint dependencies and other really useful tools for SharePoint development. If you’re using Visual Studio 2012 you should be using Update 1; but it doesn’t have … Continue reading

Posted in Development, SharePoint, Tools | Leave a comment

I’m an MVP for SharePoint Server!

Wahooo! A couple of weeks ago I got one of the coolest emails I’ve received in my professional career, it read: Dear Gavin Barron,Congratulations! We are pleased to present you with the 2012 Microsoft® MVP Award! This award is given … Continue reading

Posted in Personal, SharePoint | Leave a comment

Document Set Limitations and Considerations in SharePoint 2010

First of all, go and read the excellent article Document Set Limitations and Considerations in SharePoint 2010 written by Michal Pisarek. Ok, you’re back and have read all those? Great! I’ve got a few more for you. Shared Fields are … Continue reading

Posted in Caveats, Document Sets, SharePoint | 4 Comments

Create a Document Set in Code

I have a solution where we need to create custom Documents Set via code, luckily there are some good samples out there. However I ran into a strange piece of behaviour. My Document Sets were appearing as folders without Welcome … Continue reading

Posted in Development, Document Sets, SharePoint | 2 Comments

Data import and ‘old’ dates

Running a data importing tool my team had developed I ran into this little gem: “Unhandled Exception: Microsoft.SharePoint.SPInvalidPropertyException: Date Times before 1/1/1970 are not supported”. What the hell? I’ve entered dates prior to 1970 via the UI before. A quick … Continue reading

Posted in Development, SharePoint | Leave a comment

Visual Web Parts for SharePoint in the Sandbox

Get ‘em while they’re hot! Visual Studio 2010 SharePoint Power Tools plus a sandboxed compilation to ensure you’re not accidentally calling outside of the allowed set of types and members.

Posted in Deployment, Development, Sandbox, SharePoint, Visual Studio | Leave a comment