A step-by-step guide to setup WSL2 for SPFx development.Enable and configure the main tools for a great and incredibly fast development experience
Category: SPFx
Export PnP reusable controls from SPFx library component
SharePoint Framework allows you to create a library component type of project that you can use to bundle all your shared resources and add as a dependency to your other projects. Once deployed, the other projects will consume the shared resources from the library component.
SPFx and modern SharePoint search page for searching the current location
Modern SharePoint sites on standard release will soon receive an update to add a search box to the top Office 365 bar. This allows you to search by default in the current location, like a site or a document library. You can then configure the site to redirect user's search queries to a custom search page and you can use the amazing PnP Modern Search web parts to create a great search experience. But what if you want to pass the context of the current location to the custom search page and keep searching only on that location by default?
SharePoint folder filter SPFx extension
If you use modern SharePoint libraries with large collections of folders, you will likely feel that navigating your way around the folders is no easy task. So I built a "super simple" SharePoint Framework list view command set extension to address this problem
Convert PnP TaxonomyPicker selection to update value
When using the PnP TaxonomyPicker reusable control to let the user select values for a managed metadata list field in SharePoint, you have to convert that selection into an object that you can then pass to the REST api when updating the field value. The following function does exactly that.
SharePoint SPFx extension – Advanced copy and move
A client recently asked me to create an advanced version of the default "Copy to" and "Cove to" SharePoint capabilities available on every document library. This blog post will cover the main decisions, challenges and tools that I used to achieve this.
Copy & move SharePoint documents/folders using PnPjs
The latest release of #PnPjs contains 4 new methods that allow you to copy and move, #SharePoint files and folders, to a different folder on the same or a different site collection. And they are incredibly fast!
Get list of recent documents in SharePoint
SharePoint offers an OOB web part that you can use to list the recent documents for the current user. But what if you need the exact same information for a custom SharePoint Framework solution?
Get list of frequent sites in SharePoint
SharePoint offers an OOB web part to list of frequent sites for the current user. In this post, we are going to retrieve data from the same API
Office UI Fabric images for SPfx projects
When creating SPFx solutions, you will sometimes require base64-encoded images. A common scenario is when you create a ListView Command Set extension . And then you look at Office UI Fabric Icons and think how nice it would be if you could easily get the images as base64-encoded strings. And today I found a great tool to do this!