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…
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…
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…
Have you ever needed to create a custom form based on a SharePoint list? This article is for you! With the @pnp/spfx-controls-react NPM package you can quickly create a form based on the fields of a SharePoint list. To use the DynamicForm control you have to create an SPFx solution, you can use Yeoman with…
One of the most useful features of SPFx is the property pane, which allows end-users to configure web parts with several properties. The property pane has three key metadata: a page, an optional header, and at least one group. Pages provide you the flexibility to separate complex interactions and put them into one or more…
Today I want to show a simple thing about ACEs and that is: how to register multiple quick views. In this sample I’ll be using two buttons in the card view to open differents quick views. Just a reminder before diving into the code: an ACE can be displayed in two sizes and those are…
Some time ago I updated my SPFx sppkg file and as usual deployed it in my SharePoint app catalog, replaced the old version and when I hit the “Sync to Teams” button this showed up: Panic! Did I change something the wrong way? What did I do wrong? Why was the sync working before and…
Using the Microsoft SharePoint Yeoman generator (for a quick review of the tool you can check this blog post) you can create your first ACE project. To create your first ACE with Yeoman you have to execute the command: and provide various values to it: What is your solution name? Your-Custom-Solution-Name Which type of client-side…
The new SharePoint framework preview release is out! Please remember that, at the time of writing, this is currently a public beta. This is a minor release so it doesn’t contains a lot of changes, this version is focused on a better mobile experience when using the Adaptive Card Extensions. In detail there is now…