Skip to content

Power Apps

Power Apps Standards: Reviewing Canvas Apps

Power Apps Standards: Reviewing Canvas Apps Posted by - Matthew Devaney on - September 4, 2022 1 Comment Table of Contents App Checker Power Apps Code Review...

Matthew Devaney
Published
Reading time
2 min read

Before you start

Is this guide for you?

Best entry point
Power Apps
Time investment
2 min read

Imported reference from Matthew Devaney's blog for learning purposes. Original: https://www.matthewdevaney.com/power-apps-standards-reviewing-canvas-apps/. Author: Matthew Devaney.

Power Apps Standards: Reviewing Canvas Apps Posted by - Matthew Devaney on - September 4, 2022 1 Comment Table of Contents App Checker Power Apps Code Review Tool Source Code Review

Functional Testing & User Acceptance Testing App Checker

App checker identifies potential issues within a canvas app.  A red dot will appear when there are formula errors or runtime errors to notify the developer a fix is needed.  The red dot will not appear for accessibility issues and performance errors.

Fix all issues identified in the app checker before publishing an app to production.  This includes accessibility errors and performance errors. Sometimes it is not possible to clear all errors due to an error with the app checker itself.  Have a strong justification for any errors that were not fixed Power Apps Code Review Tool

The Power Apps Code Review Tool is an automated code review tool built by Microsoft.  A canvas app loaded into the review tool is analyzed against a checklist and is given a pass or fail score for each item.  Failed items will tell the developer what code must be fixed.

Aim for a score of 90% with the code review tool.  It is not necessary to achieve 100% because there are occasionally good reasons to avoid best practices. Source Code Review

The Power Apps source code tool is useful for manual code reviews.  It unpacks an msapp file an allows the developer to review all code for a specific screen in a single file YAML file.  This is useful because the developer does not have to click into each individual property of a canvas control to read the code.  They can simply scan the YAML from top to bottom.

Use Visual Studio Code to read the unpacked canvas app code.  The C# syntax highlighter is preferred over the YAML highlighter because Power Apps code is more similar to C#.

Functional Testing & User Acceptance Testing

Functional testing of an app should not be done by the developer who made the app.  If there is more than one developer in the organization peer-testing is recommended.  Another developer is more likely to uncover issues with app behaviour.

All apps must undergo user acceptance testing before being launched into production.  Select a small, representative group of end users and ask them to test an app against a test script. Did You Enjoy This Article? 😺

Subscribe to get new Copilot Studio articles sent to your inbox each week for FREE Enter your email address Sign Me Up Questions?

If you have any questions about Power Apps Standards: Reviewing Canvas Apps please leave a message in the comments section below. You can post using your email address and are not required to create an account to join the discussion. Matthew Devaney M365 Copilot Power Apps

How To Create Copilot Custom UI Widgets In Power Apps

Share this

Tagged

Power Apps

Have a Microsoft 365 topic idea?

Share article suggestions, community session ideas, corrections, or real-world scenarios for future nextM365 learning notes.

Suggest a topic

Keep learning Microsoft 365

Explore more practical guides for SharePoint, Power Platform, Copilot Studio, migration, automation, governance, and security.

Continue learning

Next action

What to do next

Browse all tutorials →