The case When developing web parts with SharePoint Framework (SPFx) you use the workbench both locally and online on a SharePoint site (/_layouts/15/workbench.aspx) to test and debug. Sometimes the workbench is limiting because differences in layout (canvas width), use of theme colors, etc. We would therefore like to be able to test and debug the … Continue reading Test SPFx web parts on modern page directly
SharePoint
Get the ID of the first item of a SharePoint query with Power Automate
The Case I have a flow in Power Automate where I need to lookup an item in a SharePoint list based on two lookup columns (in this example, the two lookup columns are called Patient and Exercise). I know that there will be one and only one item in the list with the combination of … Continue reading Get the ID of the first item of a SharePoint query with Power Automate
Changing the URL of a SharePoint List using PnP PowerShell
The Case Sometimes you want to change the url name of a list in SharePoint Online. For example, if your list name is "Order", the site relative url to the list is "/order", and you want to change the name to "Orders", only the list name can be changed in the SharePoint GUI. The URL … Continue reading Changing the URL of a SharePoint List using PnP PowerShell
Load fields dynamically when using SharePoint CSOM
The Case When querying the SharePoint CSOM API:s it is common that you want to fetch specific fields. If you have lots of queries going on toward SharePoint, you should find a way to avoid repetitive code (using the DRY principle) by creating a method that accepts a list of field names to be fetched. … Continue reading Load fields dynamically when using SharePoint CSOM
Creating a SharePoint App registration that never expires
The Case I am building an Azure Function that shall communicate with SharePoint Online using CSOM. The function shall have access to read and write information to lists in a specific SharePoint site collection. When you are using the standard method for creating a new SharePoint App Registration using the form located under /_layouts/15/AppRegNew.aspx, the … Continue reading Creating a SharePoint App registration that never expires
Failed to install application files – SharePoint 2013 SP1
Today, I was upgrading a SharePoint 2013 development server that had been "laying low" for a while to Service Pack 1. The installation itself went without any problems – I downloaded the SP1 executable from Microsoft and ran the installation. After the installation, it was time to run the SharePoint Products Configuration Wizard, and I … Continue reading Failed to install application files – SharePoint 2013 SP1