Archive for January 2015

Creating a result block that shows Office Graph suggestions – Part 1

There are already a various blog posts that show the power and value of Office Graph / Delve for your organisation, but not everyone will go to the Delve page to find their results. You also have your SharePoint search center were a lot of your users will go through to find their documents because they are used doing it that ways.

Read more

Date range filter with date picker display template

Some time ago I wrote a blog post series about creating your own search refiners for SharePoint 2013. Note: here you can find the posts - Creating Custom Refiner Control Display Templates for SharePoint 2013. A couple of persons have asked me how they could implement a date picker to the range search refiner control I created in the last post.

Read more

jQuery UI tabbing and accordion display templates

A couple of weeks ago somebody asked me if it was possible to create an accordion template from the grouping display template. Note: here is the original grouping template post - Grouping search results with display templates for the CSWP For these templates I made use of jQuery UI to get the accordion styling on the template.

Read more

Retrieving the list or library name of a search result in display templates

A question was asked a while ago on StackExchange by a person with whom I worked together at one of my clients. He asked if it was possible to get the list or library name via a managed property so that it can be used in a display template. The problem is that there is not a property that has this list name information.

Read more

Correctly including scripts into your display templates

When creating display templates it is sometimes required to load additional script and/or CSS files. These files can easily be referenced in a display template with the following functions: $includeScript $includeLanguageScript $includeCSS Now there is a problem when using these $include functions. The problem is that the function loads your referenced files asynchronously.

Read more

My 10 SharePoint display template tips and tricks

In this post I tell you my 10 tips and tricks that could help you when creating your display templates. Tip 1: only do your changes in the HTML files, except if you know what you are doing Best is to do your changes in the HTML version of the display template, otherwise you could end up with a corrupt JavaScript file.

Read more
Back to top