Tag: JavaScript

Setting variables in Azure DevOps pipelines using Node.js scripts

Last week, when looking into how to configure the Microsoft Teams reporter for Playwright on Azure DevOps in combination with the Playwright Azure Reporter, I ran into a problem where a variable that set in the Node.js task was not available in the subsequent tasks. In the reporter’s code, I noticed that the variable gets set using process.

Read more

Have you ever thought about checking your dependency for vulnerabilities?

We all have dependencies in our projects and you probably already read some articles about dependencies which include funky things to your project without you being aware of it. Sometimes we just include these libraries in our project just because they are cool, save us a lot of development time, or because it is a requirement.

Read more

Sharing my managed metadata refiner display template

Do you have a refiner template that shows the refiners based on the hierarchy of a term set, or can you explain how to build it? These are probably two of the most asked questions I received the last couple of months/years. Back in 2015 I created such a template, but never shared it until today.

Read more

Developing and testing JavaScript / Node.js Azure Functions locally

Azure functions are available for a while now. Their purpose is to have an event-driven compute without maintaining any server or applications. On my Azure environment, I have various of these small functions running. They all do different things like keeping my Azure search index up to date, sending notifications about my NPM packages, etc.

Read more

Toggle settings in the property pane of your SharePoint Framework web part

With the SharePoint Framework it is fairly easy to configure the properties you want to expose in the property pane of your web part. All you have to do is specify each of the property pane fields you want to show in the propertyPaneSettings function underneath the groupFields property. Show image propertyPaneSettings function There are various types of property pane fields like text, dropdown, toggle, checkbox, and if that is not enough or you need a special one, you have the ability to build it yourself.

Read more

Search web part created with the SharePoint Framework

Important I have created a new version of this web part that makes use of Handlebars templates. You can check out the code from this web part here: https://github.com/estruyf/react-handlebars-search. Older version of the web part Today I spend some time developing with the new SharePoint Framework. I must say the SharePoint team did an amazing job with creating the Yeoman template.

Read more
Back to top