Omicron Llama

Coding all day, every day.

List Item Performance – Wide Lists and Lookups

Disclaimer: The examples shown in this post are extremely unrealistic in terms of real-life scenarios. The numbers and types of fields used in these experiments are designed purely to test the physical limitations of SharePoint. At no point is it suggested that a real-life use of such list architecture be used. If you do have lists […]

Video – SharePoint Branding with CSS Customisations

Here’s a short presentation by myself in response to Mike Greene‘s post about CSS in SharePoint. It’s my first, it took all evening, so enjoy! SharePoint Branding with CSS Customisations from James Love on Vimeo.Talking through what to do and what not to do when customising SharePoint sites with CSS changes.

Making use of the Property Bag in the ECMAScript Client Object Model

This article is a cross-post of the originally published article from NothingButSharePoint.com, available here: https://www.nothingbutsharepoint.com/sites/devwiki/articles/Pages/Making-use-of-the-Property-Bag-in-the-ECMAScript-Client-Object-Model.aspx The “Property Bag” is a really quick and easy way to store key/value pairs that can be associated to a particular web site. You can use this to easily store settings for an application that you might want to scope to […]

Programmatically add Ribbon Custom Action to an Existing List

This is a cross-post from the original article from SharePoint365, available at: http://sp365.co.uk/2011/09/programmatically-add-ribbon-custom-action-to-an-existing-list/ There is plenty of documentation on the web for creating Ribbon Customisations using the standard SharePoint CAML XML mark-up. This is a great dialect for creating complex customisations to the ribbon, but they only get applied on Feature Activation. What if you have […]

Build a Simple Web Part for Office 365 that gets data from a List

Cross-Post. Originally posted on http://sp365.co.uk/2011/07/build-a-simple-web-part-for-office-365-that-gets-data-from-a-list/ In this article we will create a simple web part in C# code that will access a task list and show a list of pending items. You will then be able to upload this web part to your SharePoint environment on Office 365! This tutorial combines others on the internet that […]

SharePoint Training with Intelligent Decisioning Pty

Thought I’d take some time here to plug my company’s newly launched training delivery branch out in Brisbane, Australia (and it’s been a wee while since my last post!). Intelligent Decisioning Pty in Australia are now a Critical Path Training partner, have opened up several training workshops in October, delivering training materials from Critical Path […]

Resetting Item Level Permissions Programmatically

As part of my series of blog posts on item level permissions, I thought I’d post a quick note on “resetting” item-level permissions on a list. This can be done using the method SPListItem.ResetRoleInheritance() on the list item in question. This will reset any item level permissions on this item to inherit from the List […]

Reordering Content Types Programmatically

After this question was asked on SharePoint Stack Exchange, I thought I’d share my method of re-ordering content types in a list. Note: this isn’t the only method of doing this, see the thread on SPSE to see more (particularly the UniqueContentTypeOrder property).

SPList.Items versus the SPQuery

So you’ve embarked on writing a bit of code that must enumerate a SharePoint List’s Items one by one and do some stuff with them. You’ve (at some point) came across the Best Practices page on MSDN on Handling Large Folders and Lists, and seen that using SPList.Items is bad. It’s bad because you could […]

Previous Posts Next posts