cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sperry1625
Helper V
Helper V

Testing and Debugging Canvas (SharePoint List Form) Apps

Does anyone of a good guide or reference on using the Test (experimental) feature in Power Apps.  Also, a guide or reference on debugging Power Apps.  I have been dumping variables to labels, I'm hoping there is a better way.

 

Thanks.

2 REPLIES 2
JayMagness
Solution Specialist
Solution Specialist

Hi, Monitor is a very good tool, I use it a lot but I do not think there is a guide to it.

 

I find it fairly simple to use and I like the fact is does time sin Milliseconds where at this point in the world millisecond's do count.

 

jay

PaulD1
Super User
Super User

The experimental features change fairly regularly (although there are a few that have been there for years as they are still not stable/right - e.g. Explicit Column Selection and Formula-Level Error Management) so difficult to keep a current list of all of them and their effects. It would be good if each one had a link to a page that not only described setting but also let people leave feedback.

After many bitter experiences I leave most preview/experimental features turned off as I have been burned multiple times (Explicit Column Selection has twice broken my published Apps).

For debugging I tend to use labels showing variables as well and just put them in the 'margin' of the App (set X to Parent.Width + 5).

Monitor is a good tool to see what PowerApps is up to when fetching data - PowerApps does not always behave as you expect and you cannot rely on the warnings in App Studio to tell you when data calls are not delegating - e.g. things like First(Filter... which, depending on your datasource, will often return data up to your delegable limit and then throw all that data away except the first line, even though all it would need is a 'Top 1' appended to the Odata query to make it work as you would expect.

Because PowerApps still does not have a Search facility for formulas, I use the PowerApps Review Tool GitHub - microsoft/powerapps-tools: Unsupported PowerApps Tools & Apps to try to find things like where Collections are being used. The tool is unsupported and very slow/unstable, but even so, saves many hours of hunting through formulas in Studio.

As for testing, keep in mind that PowerApps updates are very frequently and if you re-publish your App to a new version, you really should test everything all over again as each new update can introduce new bugs and behaviours (I've just reported one today that took us a couple of hours to track down). Obviously this much testing is unrealistic in many scenarios so we try to have a set of 'Canary' users who get early access to any new version of an App and then we roll that version out to all users once we've had a reasonable problem-free period.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (3,107)