Power Pizza: Learning from Beta Tests

We are in the middle of a Power Pizza Blog Series! I am walking through lessons learned while building a Power App to track your Pizza Crawls. This will allow your friends to submit their locations, enter ratings and view the winner. Finally, a scientific solution for finding the best pizza!

If you were following #PowerPizza on Twitter than you may know I did a beta test with the app. This was actually with the same friends that went on the original Pizza Crawl with us (See Power Pizza: an Introduction). It was really cool to see friends actually using something I had built!

Of course, we did run into a few snags. I noticed that one friend was having trouble entering in ratings because no locations were available to select. This was because the location list was filtered by the party but he had actually skipped selecting a party altogether. I was able to solve this in two ways.

Show / Hide Button

On the welcome screen of the app there is a place to select the party and then you click the EAT! button to go to the home screen. I modified the Visible property of the button so that it would only appear when there was a value in the Party Selector area.

Power Apps Update Button Visibility if Combo Box Contains Data
Only show the button when the Combo Box contains data (or more accurately if the Combo box is blank then do not show the button, otherwise, show)
Show and Hide Eat Button GIF
As you can see the EAT! Button only appears when a Pizza Party has been selected (Photo by Dayne Topkin on Unsplash)

Make Location Required

The other half of this solution is to make the Location required on the Rating record. I had not worried much about required fields because I was just thinking about filling it in via the app.

There were two pieces to making this field required. (1) Updating the CDS Location field to required (this was optional but nice to keep things consistent) and (2) updating the Location Data Card Requirement within the Power App.

Make a Field Requried in CDS
Check off the Required Property of a field in the Common Data Service to make it required
Set Card to Required
Then within the Power App, select the Data Card and change the Required property to True. This will add the * to indicate required and an error if it is not populated

Important Results of Beta Test

The most important piece of the Beta test was finding out how the pizzas scored of course! We kept it simple with a Delivery vs Freezer pizza comparison. And the winner was … DELIVERY!

Probably not a surprise that the pizza made by a professional in a commercial kitchen won but a bit surprising that it only won by a small margin. I hope you are enjoying all this #PizzaPower as there is more to come!

2 thoughts on “Power Pizza: Learning from Beta Tests

Leave a Reply