Omicron Llama

Coding all day, every day.

Freebie: Round-Robin SPServer Selector

Here’s a nice little freebie I thought I’d share. I have a scenario where I have a rather large batch process to run that I’ve decided to split up by creating dozens of timer jobs that process chunks of the batch, and also let me split the the job across all my SharePoint servers! You […]

, ,

SharePoint Server Object Model Code in ASP.NET Pages

This article concerns using the SharePoint Server Object model code within ASP.NET pages that are hosted on NON SharePoint web applications. Granted – for the majority of use-cases you would rather use the SharePoint Managed Client Object Model to perform the majority of your operations – but for the odd occasion where you have a […]

Fun with AllowUnsafeUpdates

I’ve heard a little confusion lately about the use of the property “AllowUnsafeUpdates” on the SPWeb object and when it should be used. So I decided to do a little digging. According to MSDN, the definition of the property is: Gets or sets a Boolean value that specifies whether to allow updates to the database […]

Subtle hints from Microsoft?

Ok, so as partners, we are constantly faced with the decision of using either “SharePoint Social streams” or Yammer when deploying SharePoint to customers. The last I heard about this was from Jeremy Thake’s keynote speech at the SharePoint Saturday UK conference in November 2013. His guidance then was essentially: On premises (or otherwise self […]

, ,

Supporting Office 365 Customisations

So it seems that people are beginning to bear the ugly side of hosting solutions on a hosted platform (that you don’t own) – and that’s having the platform updated without being informed! This is all well and good, because the features that Microsoft control are continually being tweaked, and if they don’t work as […]

A Very Damned-Useful Extension Method

Trying never to use SPList.Items (due to Best Practice), yet needing to grab some items from a list quite often? Here’s an extension method which I use a fair bit.

You can then use regular LINQ queries to get the item or items you need against the object returned by this, for example:

[…]

Routing Engine: EvaluateCondition threw an exception.

Scenario: You’ve programmatically provisioned some Content Organizer Rules to send some documents somewhere based on a Managed Metadata Field. When you upload a document and set that field to something matching a condition, it throws an error, and you see this in the event logs:

The thing to watch here is the last bit […]

Previous Posts

Theme created by thememotive.com. Powered by WordPress.org.