A complete walkthrough with PnP Core SDK and REST-based Graph integration GitHub repo: https://github.com/greian/AzureFunctions.ConvertToPdf Why I Built This In many SharePoint solutions, users expect documents to be available as PDF — whether for archiving, sharing, or publishing to external systems. Manually exporting every document is tedious, and Power Automate’s built-in convert-to-PDF action is slow, inconsistent, … Continue reading Converting Word Documents to PDF with Azure Functions, SharePoint & Microsoft Graph
SharePoint
Switching Between Different Versions of PnP.PowerShell
A guide for developers who need to work with older module versions Sometimes you update PnP.PowerShell to the latest version, and suddenly a script stops working. Maybe a cmdlet changed behavior, a regression was introduced, or you simply need to test something against an older SharePoint environment. I had a problem where version 3.1.0 of … Continue reading Switching Between Different Versions of PnP.PowerShell
How to Set Up an NPM Repository in Azure DevOps for Your SharePoint Framework Solutions
One of the most underrated productivity boosts in SharePoint Framework development is the ability to share reusable SPFx components across multiple projects. Instead of copying code between solutions or maintaining private Git repositories for shared code, the cleanest approach is: Publish reusable SPFx components as private NPM packages Host them in your Azure DevOps Artifacts … Continue reading How to Set Up an NPM Repository in Azure DevOps for Your SharePoint Framework Solutions
Automate Email Generation with JSON Column Formatting in SharePoint
As SharePoint developers, we are often asked to streamline processes for end users. One common task is providing a quick way to send prefilled emails with dynamic content straight from a SharePoint list. In this blog post, I will guide you through a simple JSON formatting solution that opens a new Outlook email window with … Continue reading Automate Email Generation with JSON Column Formatting in SharePoint
Displaying Theme Colors in a SharePoint Framework (SPFx) Web Part
Introduction As a SharePoint developer, you often need to work with themes and ensure that your customizations align with the current theme of the site. In this blog post, I will walk you through a SharePoint Framework (SPFx) solution that displays the theme colors of the current theme on a SharePoint site. This web part … Continue reading Displaying Theme Colors in a SharePoint Framework (SPFx) Web Part
Creating an RSS Feed Custom Data Source for PnP Search
Introduction In this blog post, we will walk through the steps to create a custom data source for PnP Search that fetches data from RSS feeds. We will use the RssDataSource.ts file as our reference. Read more about how to create custom data sources for the PnP Search Web Part here: https://microsoft-search.github.io/pnp-modern-search/extensibility/custom_data_sources/ Prerequisites Basic understanding of TypeScript … Continue reading Creating an RSS Feed Custom Data Source for PnP Search
Building a Likes Web Component as a PnP Search Extension
In this blog post, I will show an example of a LikesWebComponent as a search extension for the PnP Search Web Part. This component will allow users to like and unlike items for SharePoint items that are found and displayed in the PnP Search Web Part. The following image shows an example of the "Likes component" can … Continue reading Building a Likes Web Component as a PnP Search Extension
Automating Content Type Updates Across Document Libraries in SharePoint Online
Introduction If you need to update all document libraries in all sites in a SharePoint Online hub from using a local content type to use a content type from the content type hub, this blog post shows how you can achieve this. Manually managing content types across multiple sites in SharePoint Online can be a … Continue reading Automating Content Type Updates Across Document Libraries in SharePoint Online
PnP Search Extension – Rendering a field value
When using the PnP Search Web Parts, you have the possibilty of extending the web part by building custom web components that can be used in the handlebar code. (Read more about PnP Search extensibility here). In the handlebar templates in PnP Search, the values of managed search properties are used to display the search … Continue reading PnP Search Extension – Rendering a field value
Show/hide custom action with JSON Formatter in SharePoint based on file type
The Case I had a customer case where they wanted to show or hide a setValue custom action (customRowAction) conditionally based on the type of document in a SharePoint document library. The custom action without any conditions applied looks like this: The requirement was that they wanted to show this toggle button (setValue custom row … Continue reading Show/hide custom action with JSON Formatter in SharePoint based on file type