Are you ready for the most exciting event of the year? Microsoft Build is back with a bang, and you don’t want to miss it! Here are five reasons why you should attend Microsoft Build this year: So what are you waiting for? Register now for Microsoft Build 2023, happening on May 10-12. You can attend onlineContinue reading “5 reasons to attend Microsoft Build this year”
Tag Archives: SharePoint Framework
Enable Service Principal Registration at Permission Scope Approval Time with SPFx 1.15.2
With SPFx 1.15.2, a new feature snuck in that allows you to enable service principal registration when you are approving the permissions of the app. If you have ever had your SPFx solution talk to an AAD secured API, you know that not configuring the App Registration in the customer’s tenant can cause problems. Historically,Continue reading “Enable Service Principal Registration at Permission Scope Approval Time with SPFx 1.15.2”
Connecting to other sites with PnP JS 3.0.0
With the release of PnP JS 3.0.0, you’ll need to tweak a bit of code throughout your project. One particular case that has caused me issues in the migration is cases where you opened a Web or Site directly using it’s constructor such as the following: This syntax is no longer valid in PnP JSContinue reading “Connecting to other sites with PnP JS 3.0.0”
7 Tips for upgrading to SPFx 1.13.0 (or any other version)
I’ve been testing Beta 13 of SPFx and wanted to share these tips. Welcome SPFx beta versions Upgrades to SPFx are usually painless, but sometimes (like in version 1.12.0), there are issues. The SPFx team now releases beta versions of each SPFx release giving us an opportunity to try our code with it before upgrading.Continue reading “7 Tips for upgrading to SPFx 1.13.0 (or any other version)”
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”
Conquering undefined with optional chaining in SPFx
If you are a SharePoint Framework developer, you know that you never know what type of data you are going to get back from the SharePoint API. On one page, you can find a deeply nested value in the context object and the next, you get undefined somewhere in the chain. Take a look atContinue reading “Conquering undefined with optional chaining in SPFx”
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: 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”