• A while ago I’ve been asked to change the name of an SPFx Teams personal app and to localize it, I’ve never done something like that so I did my searches and luckily it came out that it’s a pretty easy thing to do! To support localization in the manifest.json, like in my case to

    Read more

  • Sometimes I need to have multiple Node.js version installed on my machine, maybe it’s only me but if you have my same problem the solution exists and it’s name is NVM. I usually develop on Windows so I installed NVM for Windows from here, but if you’re on other OS I’m sure you can find

    Read more

  • 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 user and another to select

    Read more

  • 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 a breaking change you want

    Read more

  • 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. The article states that if

    Read more

  • 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 is displayed: When the user

    Read more

  • 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. In my case what I

    Read more

  • Microsoft Graph Toolkit aka MGT can be used inside an SPFx solution in a quick and easy way and I’m here to show you how. This sample shows how to use the Person MGT control inside a React SPFx web part, the result will be the following: Where we simply show the current user in

    Read more

  • Cit: “Everything works and I like it, but I don’t want the /api in the URL, can you remove it?”. That was the incipit to this post. Before that I never wondered if there is a configuration or something to change or remove the /api base URL in Azure Functions. After searching for a bit

    Read more

  • Tenant settings are a useful way to define settings for an SPFx solution without the need to handle all the settings in the property pane, in this way you also don’t need to configure the web part again if you need to remove it. To achieve this result we’re using PnP JS. I developed a

    Read more