web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Canvas App New Form-af...
Power Apps
Answered

Canvas App New Form-after 1st submission returning to the page shows a blank page

(0) ShareShare
ReportReport
Posted on by 29

I have a simple Canvas App with a form tied to a dataverse dataset. The form is set with a Default Mode of 'New'. The OnSuccess action of the form navigates to the home page after submission.

When I open the form for the first time, it displays as below and successfully saves the record to the dataset.

However, when I navigate back to the form it is completely blank.

 

From what I have been able to figure out, after the New form is submitted, the form is switched to Edit mode and expecting to display the newly created record (which is the same blank screen as below).

I assume I need to reset the form, or change the navigation to this form to expressly request a form mode of 'new'. Thanks in advance for your help!

 

jamesreinhardt_1-1649782423352.png

 

jamesreinhardt_2-1649782432707.png

 

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @jamesreinhardt 

    The key is the Item property of the form.  You can set it to Lookup(yourdatasource, ID=Gallery1.Selected.ID)  It is ignored when the form is in New mode but when the form is in Edit mode, it will show the item selected in the gallery.  Typically you would select the record inside the gallery and navigate to the edit screen. You can set it by putting an icon inside the gallery with the OnSelect property: EditForm(yourformname);  Navigate(yourformscreen).  For creating a new record, on the gallery screen, there should be an icon or button outside the gallery with the OnSelect property, NewForm(yourformname); Navigate(yourformscreen).

  • Verified answer
    FMontesRNX1 Profile Picture
    147 on at

    How did you set the 'New' Mode?
    Ensure the button/action item you're using to navigate to the form have the NewForm command

    Navigate(MyFormScreen,None);
    NewForm(Form1)

     

  • James Reinhardt Profile Picture
    29 on at

    Thanks for the response, but I don't have a gallery, or a reason to view any existing records. What I'm trying to do is bypass that automatic display of the submitted record. I think I figured out something that works, will post about it in a separate reply.

  • James Reinhardt Profile Picture
    29 on at

    I was able to get the desired behavior by doing the following:

    For the Submit button, I added the following to the OnSelect:

    SubmitForm(EditForm1);NewForm(EditForm1)

    and added Navigate(Home) to the OnSuccess.

    The user never sees the NewForm, but it seems to reset things so the next time it is viewed it is in New Mode.

     

  • James Reinhardt Profile Picture
    29 on at

    I think that is what I've been missing. Thank you!

  • v-yujincui-msft Profile Picture
    Microsoft Employee on at

    Hi @jamesreinhardt ,

     

    It seems that your problem has been solved.

    You might consider marking your answer or someone else's reply as a 'solution' to close the case.

     

    Best Regards,

    Charlie Choi

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 421

#2
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 278 Super User 2026 Season 1

Last 30 days Overall leaderboard