Build on SharePoint

The blog of Sam Betts on SharePoint application development - full of lot's of useful info, guides, and various cats.

Browse by Tags

Tagged Content List
  • Blog Post: Building Multi-Level CAML Queries from GET Parameters in the URL

    I had an interesting challenge just recently which was to perform multi-level queries on any given list dynamically using GET parameters to build the query. In other words, from a GET request, we should be able to search a list with multiple groups of ANDs & ORs just by changing the URL. You can...
  • Blog Post: Calling SQL Server from SharePoint Web-Part with Impersonation

    A question that comes up with fairly persistent regularity is “how come my web-part can’t connect to my SQL database/web-service/whatever with integrated credentials?”. It’s a question that has some rationale and some history behind it; the rationale being “I logged into the page as a user that should...
  • Blog Post: The “High-Availability SharePoint” Bible

    A big interest of mine is designing SharePoint farms to be highly-available through good architecture & solid design; something I’ve posted about quite a bit on this blog over time. This article summarises the high-availability strategies available for SharePoint and then touches on other common...
  • Blog Post: Setting Up an Awesome SharePoint 2013 Dev Box on Windows Server 2012 R2

    Update : Modified PowerShell script to install missing Windows Identity Foundation feature and added instructions for SP1 slipstream install. SharePoint 2013 service-pack 1 is officially out bringing with it support for Windows Server 2012 R2. This is most excellent news for SPDevs because finally...
  • Blog Post: Coding with SharePoint 2013 Search - InternalQueryErrorException on SearchExecutor.ExecuteQuery

    You may have seen this exception when using the SearchExecutor class in your SharePoint C# code. I had an issue just recently that threw me off what was really wrong and I thought I’d share as it might save someone else the same head-banging time I went through. Anyway; on executing a query in C# this...
  • Blog Post: Managing Custom Solutions for Disaster Recovery SharePoint Farms

    Having x2 SharePoint farms that need to be synchronised perfectly does raise the question about how to maintain both farms updated with any custom solutions that may need to be applied to the farm/application. This guide is about how to maintain custom solutions across two or more farms and what can...
  • Blog Post: Creating a Clean Visual Studio Solution from a SharePoint 2013 Site Template

    Quite often for SPDevs it can be useful to reverse-engineer a SharePoint site into code if you need to build a site definition for sites that don’t exist yet. Usually this would mean starting a new project & added each project item by hand but in this example we’re going to start a new VS project...
Page 1 of 1 (7 items)