Power Pizza: Form Modes

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!

Pizza Crawl Stop #2: Fireworks Pizza, Arlington
Pizza Crawl Stop #2: Fireworks Pizza, Arlington

One of the first challenges I faced with my Power App was the Form Mode. I created the app based off my Common Data Service data. So this automatically created a Gallery page, a view page, and an edit page.

The Problem

Of course as I am working away and testing sparingly, I rename pages and change navigation links and forget what things used to be. So I was struggling with why I was putting data into this form that was not saving. Then I noticed that the data was saving on that form but the form was not clearing. I was trying many different ways to clear the form or make sure it was submitting.

The Solution

Finally I realized the issue was that I was using an Edit form not a New form. To check this, select the Form and review the properties. Then you can change the Display Mode to either New (create a new form, submit at the end), Edit (change an existing record), or View (look at data).

Power Apps Form Default Mode
Power Apps Form Default Mode
Form Default Mode Options
Form Default Mode Options

I would then recommend you re-name everything to fit with the form label. This will keep you less confused. You will notice I did not do that in my screenshot because I enjoy making my life just a bit harder for myself each day.

This was a small, quick change but it resolved several issues. I included a few forms so after discovering this setting I was able to easily verify all were set up as I wanted them to be.

Tune in tomorrow to learn about other silly mistakes I made on this Power App and how you can avoid them yourself!

One thought on “Power Pizza: Form Modes

Leave a Reply