In this article, I will show you how to create an Azure Function to merge PDF files stored in SharePoint. The Function will be a generic service, which receives a list of file paths to merge.
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?
If you have SharePoint managed metadata terms being used in document libraries and you decide to rename the label of a term, you can easily do so in the term store and wait for the change to propagate to your documents. But what if you want to update all documents that use a specific term to a different term that already exists? The following script will to the job for you.
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
If you try to approve API access requests in SharePoint online and get a generic error similar to the below, just stick to the first IT rule: "turn it off and on again"
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.
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!
Did you ever wanted to quickly delete all items from a SharePoint list without having to run into complex scenarios?
A few days ago, I was trying to set some managed metadata fields in a SharePoint library using the Set-PnPListItem command - which is greatly documented. But having worked with SharePoint for quite a few years, I immediately noticed that the examples in documentation for managed metadata fields did not contain the exception case for terms with the '&' character in the label. I had to deal with this case multiple times before, so writing this blog post to hopefully save some time in the future.
Some time ago, I published a blog post related to a web part that I use on the hosted workbench page while creating other web parts. I have this solution deployed on my dev tenant and simply add it to the bottom of the Workbench page to work around some things that get in the way when building the UI of SPFx web parts.