As a TypeScript developer, you’re likely familiar with the importance of having the right tools to make your job easier and more efficient. GitHub Copilot is one such tool that can help you streamline your development process and enhance your day-to-day life. In this blog post, we’ll explore the top 5 reasons why GitHub CopilotContinue reading “Five reasons GitHub Copilot can enhance your experience as a TypeScript developer”
Author Archives: coreyroth
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”
Using Power BI to connect to Node.js APIs with Passport authentication
When I started this endeavor, I thought this would be a task that surely someone has written something on. I did lots of searching and really didn’t come back with any thing so instead I stumbled through it and ended up spending most of the afternoon on it. I have a Node.js based API usingContinue reading “Using Power BI to connect to Node.js APIs with Passport authentication”
Failed to load plugin ‘@typescript-eslint/eslint-plugin’ declared in ‘.eslintrc.js with SPFx 1.15 and Azure DevOps Pipeline
With the transition to ESLint with SPFx 1.15, the migration has been challenging to say the least. While new ESLint rules have found some legitimate issues in my code, they have required me to touch almost every file in my projects. Recently, when I finished all of my changes and had everything building successfully locally,Continue reading “Failed to load plugin ‘@typescript-eslint/eslint-plugin’ declared in ‘.eslintrc.js with SPFx 1.15 and Azure DevOps Pipeline”
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”
Installing SPFx build tools on M1 Macs
With the latest release of MacBook Pros, I know a lot of SPFx developers are considering an upgrade. My previous MacBook Pro was showing its age, so I thought now was a good time. My new shiny MacBook Pro arrived last night and one of the first things I tried to do is get node.jsContinue reading “Installing SPFx build tools on M1 Macs”
Understanding Boost for SharePoint News
One of the features coming with Viva Connections is Boost. Boost allows you to prioritize content that shows up in the Feed for Viva Connections that you see in the web part or in the Teams mobile app. As Microsoft’s support article mentions, this feature is pretty new and more is coming allowing boosted newsContinue reading “Understanding Boost for SharePoint News”
How to get CSS styles to work in a Fluent UI React Panel control
Sometimes this should be obvious and they just aren’t. I use the Panel component in Fluent UI React / Office Fabric from time to time. I’ve always struggled to work with styles there coming out of my web part’s module.scss file. That’s because they simply aren’t being applied. Let’s look at this simple example webContinue reading “How to get CSS styles to work in a Fluent UI React Panel control”
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)”
Empty value column in customMetrics after upgrading Application Insights to Log Analytics Workspace
That’s a mouthful! Microsoft announced this year that all legacy Application Insights instances must be upgraded to use a Log Analytics Workspace. For the most part this is a good thing and provides you new features. The upgrade is rather simple and it’s supposed to be seamless. However, I have found a case in theContinue reading “Empty value column in customMetrics after upgrading Application Insights to Log Analytics Workspace”