ElioStruyf GitHub Star | M365 Development, Developer Technologies MVP | Google Developer Expert Azure | Microsoft 365 | Visual Studio Code

Along with acting as VP of BIWUG (Belgian Information Worker User Group), Elio is an independent contractor for his own consulting company, Struyf Consulting.

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

Adding and customizing actions in the search hover panel

Adding custom actions to a search hover panel is completely different than when you are doing it for an item/document callout. When adding a custom action to item or document callout you will be able to override the default footer with your own custom actions. These things can be done without touching any of the existing JavaScript files (add a custom action - add a custom action for a specific file type).

Read more

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

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): Show image Callout with a custom action This time I had the requirement to only add an action for a specific file type.

Read more

SharePoint Saturday UK wrap-up

The past weekend I went to the my second SharePoint Saturday UK. This year I was also presenting about how to take your display template skills to the next level. Apart from the wifi at the venue, everything was great. I heard that some speakers could not do their demo’s due to the internet connection.

Read more

How to add multi-sorting of managed properties in your display templates

Last week I had an internal event where I did one of my new sessions: take your display template skills to the next level. One of the topics that I discuss during this session is how you can add sorting in your display templates. Note: this is something I blogged about a couple of months ago (How to add sorting in display templates and Table layout display template with managed property sorting).

Read more
Back to top