Omicron Llama

Coding all day, every day.

sharepoint

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:

[…]

SharePoint from iOS – a new library – SPMobile

Cut to the chase: github is here:¬†https://github.com/jimmywim/SPMobileI have spent a bit of time recently tidying up and expanding the code possibilities with my iOS library – SPRESTApi. The changes have allowed me to extend it so it’s no longer just a REST API helper, but can be used to called the ASMX web services in […]

SharePoint Forms Authentication (FBA) with Apple iOS

Over on my Github project I have finally got round to doing some updates to the code. I’ve added a class that simplifies Forms Authentication, and allows you to issue the same REST API queries against SharePoint. Code samples are on the wiki on the Github site. Doing this wasn’t really that difficult, you basically […]

Creating Custom PerformancePoint Reports in C#

(Concepts here are discussed around SharePoint 2010 but should equally be applicable to SharePoint 2013. All concepts here apply only to full-trust farm solutions, and cannot be done at all with Sandboxed solutions or with the App model)Occasionally you might give given the requirement (as a developer) to provide the ability to insert a chart […]

Get All PerformancePoint Filter Value selections in a Site Collection For the Current User

Here’s some code to get all PerformancePoint filter selections for the current user in a web site. This is a fairly straightforward operation. First you need a collection of strings, each of which is the URL to a PerformancePoint Filter stored in SharePoint. In this code snippet I use SPSiteDataQuery (in the DiscoverFilterUrls() method). You […]

SPSite, FileNotFoundException and the Server Object Model in Console Applications and PowerShell Scripts

For a beginner SharePoint developer, there can be a fair amount of confusion around the seemingly trivial task of building a C# Console Application to connect to a SharePoint site and to learn the object model. You merely include a reference to the Microsoft.SharePoint.dll assembly, instantiate an object, passing in your site URL and you’re […]

Previous Posts