JavaScript

Rendering video results with the use of display templates

April 21, 2016

Last week when I was configuring a content search web part to show the latest videos from the Office 365 Video Portal. I saw that the default video template which is available is not so feature rich as I expected. The default video display template shows only a preview image with a link to the actual video.

Read more

Starter JavaScript display templates for your projects

April 13, 2016

A while ago I wrote a post about my 10 tips and tricks when working with display templates. Info: you can find the article here: My 10 SharePoint display template tips and tricks In that article, I highlighted two ways of how you could provision your display templates to a SharePoint site.

Read more

Using the new theming engine on SharePoint Online

March 10, 2016

Microsoft is currently rolling out a new theming engine for SharePoint Online. The difference between this new engine and the old one is that all the theme CSS changes are applied at runtime. The old engine processed all the CSS files that could be themed and stored them in the database.

Read more

Displaying the user’s profile picture in your Office 365 add-in

September 17, 2015

For one of our internal Office 365 add-ins I wanted to display the user’s profile picture via the Office 365 Unified APIs. Note: At the moment there is not much documentation about the Unified API and retrieving the user’s profile picture. You could fall back on the documentation about the Outlook User Photo REST API.

Read more

Adding a custom action to a callout based on the file type

December 12, 2014

Back in October 2013 I wrote a post on how you could add your custom actions in a callout like this (Adding a custom action to a callout in SharePoint 2013): Callout with a custom action This time I had the requirement to only add an action for a specific file type.

Read more

How to Retrieve a Lookup Field Value in JS LINK

January 30, 2014

This week I received a question from someone asking me about how you could retrieve the value from a lookup field in a JS Link field rendering file. Solution Retrieving the value from a lookup field is easier than it used to be when working with XSL in SharePoint 2007 / 2010.

Read more