How to: Use PnP.PowerShell to deploy SharePoint apps with Azure DevOps

Automating SPFx builds and deployment to your environments will save you tons of time after you get it built. I wrote the post How to: Setup CI / CD in Azure DevOps to walk you through step-by-step how to get it working. While this post is largely still valid, there are better ways to doContinue reading “How to: Use PnP.PowerShell to deploy SharePoint apps with Azure DevOps”

Switch to Ubuntu Agent Pools in Azure DevOps for faster SPFx build times

If you have taken the time to set up SPFx builds (CI / CD) in Azure DevOps pipelines, you should take a look at which agent pool you are using. I had always heard that Ubuntu was significantly faster and the rumors are in fact true. I found that Ubuntu cut my build times inContinue reading “Switch to Ubuntu Agent Pools in Azure DevOps for faster SPFx build times”

Image resizing on Modern SharePoint pages

Through the use of image renditions, Modern SharePoint pages actually do a pretty good job of rendering an image without much manual adjustment. I have had many people ask me what size to make an image and more often than not, it’s the aspect ratio that means more than anything. Microsoft has updated their guidanceContinue reading “Image resizing on Modern SharePoint pages”

Using Microsoft Forms with Attachments

I’m a huge proponent of Microsoft Forms. In my organization, we’re starting to use them for everything. Here’s just a sample of some of my forms, they really are making life easier when it comes to collecting data. However one of the gaps when we started implementing them was the lack of attachments. This wasContinue reading “Using Microsoft Forms with Attachments”

Microsoft Forms Web Part error: “This is not a valid form link.”

Last week, I was building some simple request forms using Microsoft Forms and I wanted to embed one on a modern SharePoint Page. I created, the form, added the Microsoft Forms web part, but when I pasted the link to the form, I got the following error: This is not a valid form link. PleaseContinue reading “Microsoft Forms Web Part error: “This is not a valid form link.””

SPFx Basics: Opening a link in a new tab

It turns out opening a link to a new tab is now in your SPFx web part in SharePoint is not as simple as you would think. You would think that simply adding target=”_blank” or target=”_new” would do the trick. It does not. It works for external links but link to other SharePoint pages willContinue reading “SPFx Basics: Opening a link in a new tab”

How to: Provision Lookup Columns and Projected Fields using PnP PowerShell

If there is anything that is hard to work with in SharePoint, it’s lookup columns. While it’s so easy and simple to create them through the SharePoint user interface (well the classic interface), they are incredibly complex to provision programmatically. I remember struggles behind provisioning lookup columns going back as far as 2007 if notContinue reading “How to: Provision Lookup Columns and Projected Fields using PnP PowerShell”

How to: Setup CI / CD in Azure DevOps with the help of SPFx Generator

Updated: January 20th, 2020 – Refer to this post to use the latest version of PowerShell and certificate authentication. This post will be updated in the future to include those updates. Updated:May 28th, 2019 to use SPFx 1.8 and node.js v10 Updated: May 8th, 2019 to include use of SecureString There are a lot ofContinue reading “How to: Setup CI / CD in Azure DevOps with the help of SPFx Generator”

SPFx Basics: Debugging web parts on any page

Many experienced SPFx developers know you don’t have to debug your web part in the workbench in SharePoint Online. While the workbench is great, there are certain things that you just can’t test there such as application customizers and full-width web part zones. In the past six months or so, I’ve mentored a number ofContinue reading “SPFx Basics: Debugging web parts on any page”