#OpenToWork Open to new opportunities: Technical Lead or DevRel let's chat and explore possibilities! Contact Elio

Web Part

Showing a spinner when dynamically loading resources for your SPFx property pane

March 11, 2020

In your SharePoint Framework web parts, you have the option to load resources dynamically. These resources could be data you want to fetch or dynamically load controls before the property pane panel gets shown. To achieve this, you implement the logic in the loadPropertyPaneResources method. Info: You can find more information about dynamically loading controls here: Special property pane dynamic loading.

Read more

Allow empty search queries from your search box

November 5, 2015

This article explains a quick tip how you can allow empty search queries. This functionality is necessary when you have pages on which you configured the search web parts to use predefined queries in order to show results when the page gets loaded. Note: This could be either configured in the web part itself or via a result source.

Read more

Define custom server side rendering for catalog items with XSLT

March 25, 2014

XSLT and SharePoint 2013, didn’t thought I was going to use it now that we have display templates. Almost everything can be done with display templates and JavaScript these days, but you need to be careful that you don’t build everything with JavaScript, because it could slow down the client experience.

Read more

How to Define a Custom Group Display Template (GroupTemplateId) for the Search Results WebPart via JavaScript

July 29, 2013

For my next blog post I needed to investigate how to use a custom Group Display Template for the Search Results WebPart. Unfortunately you can only set the Control Display Template and the Item Display Template in the Search Results WebPart properties. Display Template Settings Search Results WebPart If you want to specify the group display template, you have two options:

Read more