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.
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.
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!