Archive

Latest Posts

SharePoint and the User Interface with JavaScript (Slide deck)

Below is a link to a slide deck of a presentation I gave last month at our local SharePoint user group (vSharePoint). The main theme of the presentation was in regards to how to combine together JavaScript with the SharePoint UI to add some sweet, interactive behaviours that truly add value to the end consumer. …

Read on

JSLink Working with URLs in SharePoint Lists

About a month or so ago we were working on a client project with the requirement to create a mechanism for displaying links to URLs that were too long for hyperlink column in a SharePoint Links List (that column has a 255 character max). The solution was fairly straightforward. We used JSLink to create a …

Read on

Pre-Expand the “Show More” link in a SharePoint Task List

I found this brilliant (and short) blog post about how to pre-expand the annoying “Show More” link in a SharePoint task list. Namely this sort of thing, seen below: Here’s the blog post (link), and just for good measure, I’ve captured the heart of it below, just in case the link goes offline. http://ingessharepointnotes.wordpress.com/2014/03/04/expand-long-list-forms-by-default/ … …

Read on

Fetching a User Using the SharePoint CSOM (via JavaScript)

I tend to need to do this sort of thing a lot recently, and it’s not as simple as looking for a pre-fetched value sitting in the DOM somewhere, so I figured I better blog it and then I’ll know where to find it. Here’s my code (below). All you have to do is call …

Read on

An Alternative Photo Rotator Solution

A customer of ours had an issue with the out of the box photo rotator in SharePoint – every few minutes it kept prompting them for credentials.  After some inspection, I noticed that pretty much every rotator solution would always change the image by swapping between two <img> elements, and changing the URL of the …

Read on

The Trick to Getting JS Link to Work in SharePoint

There have been a number of times I’ve forgotten that there’s a kind of black magic going on with the JS Link field in SharePoint List Views.  I’m writing this mostly to remind myself of how to do it properly, but also to help anyone else out there who may be running into the same …

Read on

Adding an Auto-Refresh Content Editor Web Part

The Challenge You want to create a dashboard which will automatically refresh itself on a regular basis The Solution This is easily accomplishable using a SharePoint Web Part and little bit of scripting, JavaScript in this case, to be precise. How to Accomplish This Task Start by going to the page you want to edit, …

Read on