Category: Development
-
Automate Microsoft MFA login using Playwright

Introduction During a session at ESPC 25, where I and the awesome Peter Paul Kirschner talked about developing, testing and deploying a SPFx solution, a person asked if Playwright supports MFA: the answer is yes, using a TOTP. This article wants to be an answer to that person and to…
-
Copying Arrays in TypeScript: Spread vs Deep Linking

TLDR: use the spread operator for arrays of non-object items, otherwise you need to copy the array breaking the deep link of the objects using, for example, JSON.parse and JSON.stringify. If you’re interested in knowing more keep reading! With this post I want to remind (mostly to myself) that there…
-
SPFx extensions: discover the field customizer

Introduction SharePoint Framework offers different extension project types, for example the Application customizer (more here), those extensions allow customization of the standard SharePoint Online UI/UX. With this article I will cover the field customizer extension. This extension allows customizing the appearance of a specific field of a SharePoint Online list.…
-
How to Use Image Helper API in SharePoint Framework

Introduction The Image Helper API has been introduced with the version 1.14 of the SharePoint Framework and it allow to generate a URL to an image that will be close to requested site, this can be useful if resizing operations are required, and also the image might load faster because…
-
Essential Logging Techniques with @microsoft/sp-core-library

Introduction Ever you wonder what the Log class of the @microsoft/sp-core-library does? I did, so I tried it a little bit more in order to better understand how it works and what can be done with it. If you need a reference about how to use it you can have…