Category: Development
-
How to use PnP PeoplePicker

Today I want to cover the use of the PeoplePicker of the @pnp/spfx-controls-react package. The control let’s you select users and groups filtering them by the name, also you can specify if a single or a multiple selection is enabled. In this sample there are a PeoplePicker to select a…
-
Use multiple version of an NPM package

I was wondering how to use two different package version in the same project, maybe you’re wondering why I would do such a thing but picture this: You have a public NPM package and you want to update some of your controls that use an external package, but to avoid…
-
Set Azure Function timeout without republishing

A while ago I needed to change an Azure Function timeout but I wanted to avoid, if possible, to republish it. After a little while searching I discovered this page which explain how to overwrite the values specified in the host.json file with the values specified from the Azure configuration.…
-
PnP SPFx RichText control

Today I want to show you how to use the RichText control from the PnP SPFx react controls. This control allows the user to insert a text and enrich it using HTML in a transparent fashion for the user. Starting with the sample I created this is how the control…
-
A wild SocketException appeared!

Today I was debugging an old web API project and suddenly an error appeared: I tried restarting Visual Studio but the error remains…considering that I didn’t change anything from the previous debugging session I decided to ask the web and after a little while searching I discovered a simple solution.…