Using Super-Linter in a GitHub Repo to Improve Your Code Quality

In this post, we will look at how to super-linter in a GitHub repository so your code quality can be improved. The GitHub DevOps Engineering Team built super-linter to help with their own best practices. You can see the GitHub repo for super-linter here. The linter is a “Combination of multiple linters to install as a GitHub Action”. So when you use GitHub as a source code repository, you can add … Continue reading Using Super-Linter in a GitHub Repo to Improve Your Code Quality

Configuring ESLint Semi-Colons Rule

In this post, we will look at configuring the ESLint semi-colon rule. The ESLint semi rule can be configured so when ESLint runs, it will either require or disallow semi-colons. The JavaScript engine does not specifically need semi-colons in many situations such as at the end of lines. The engine will interpret code without semi-colons provided and know how to deal with it using the automatic semicolon insertion feature, or … Continue reading Configuring ESLint Semi-Colons Rule

Using FetchXML in a Power Apps Portal Web Page Template

In this post, we will look at how to use FetchXML in a Power Apps Portal Web Page and Template. First, let’s go to the Portal Administration app and create a new Web Page Template: Paste in the FetchXML like below. You can see we are creating a new web template, and running a FetchXML query, then iterating through the results and returning them in a JSON format: Scroll down … Continue reading Using FetchXML in a Power Apps Portal Web Page Template

Intro to Power Apps Portals Web Roles and Table Permissions

In this post, we will look at Power Apps Portals Web Roles and Table Permissions how they are used. We will go through an example of displaying a list of Dataverse records. First, let’s create a new portal called Company Jobs. The goal of the website is to display content to both internal authenticated and external non-authenticated users. The difference is that internal people will see some more information on the … Continue reading Intro to Power Apps Portals Web Roles and Table Permissions

Use the Three-Screen App Template to Build a Canvas App

In this post, we will look at the Power Apps Maker functionality to create a 3-screen app from a Dataverse table. Go to https://make.powerapps.com/ and select Create->Dataverse: Ensure Dataverse is selected under Connections and click Create: Now choose a table. We will select Accounts: And click Connect in the bottom right: Our app is created. Click the Play button in the top right: The app is launched. We see some pieces … Continue reading Use the Three-Screen App Template to Build a Canvas App

Using Kudu API and PowerShell to Deploy Azure App Services

In this post, we will look at how to use the Kudu API and PowerShell to deploy Azure App Services. This can be useful if you want to automate deployments rather than manually logging into the Kudu portal and performing deployments manually. Let’s assume in our example we are deploying between a DEV environment and a PROD environment. You may have more environments in the real world but this is … Continue reading Using Kudu API and PowerShell to Deploy Azure App Services

The Trick to Updating Custom Lookups using the Dynamics 365 Web API

In Dynamics 365 Power Apps, when updating a custom lookup field using the Web API, you may run into an “undeclared property” error. Let’s look at how to get around this so you can update custom lookups through the Web API. This tip comes from one of my favorite devs, Joseph Duty! There are a couple of scenarios we will cover here. The first is when the entity is an activity, … Continue reading The Trick to Updating Custom Lookups using the Dynamics 365 Web API

Using EasyRepro for Automated UI Testing in Dynamics 365 Power Apps

EasyRepro is an automated UI testing API from Microsoft tool to test Dynamics 365 Power Apps. This is useful if you are performing repeated UI tests and would like to automate these. To use EasyRepro, go to the GitHub repository https://github.com/microsoft/EasyRepro and download or clone the code: I will download it: After downloading the ZIP file, right-click -> Properties and unblock: Unzip and you should see something like below. Open … Continue reading Using EasyRepro for Automated UI Testing in Dynamics 365 Power Apps

Hiding Form Header and Footer Through JavaScript in Dynamics 365 Power Apps

In this post, we will look at how to hide and show various elements of a Dynamics 365 model-driven Power App form, including the header and footer, using JavaScript. First, let’s take a look at the elements of a form based on the formContext. The formContext provides us with a headerSection and a footerSection. The header is then divided into 3 parts, header command bar, header body, and header tab … Continue reading Hiding Form Header and Footer Through JavaScript in Dynamics 365 Power Apps