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 / Screen not appearing a...
Power Apps
Unanswered

Screen not appearing as blank

(0) ShareShare
ReportReport
Posted on by 74

i embedded my powerapp in my sharepoint page. I only have an edit screen. I would like for the form to appear blank then return to blank after save. 

 

Currently form populates the first item in the SharePoint list. I am not sure if I need a formula in the Onstart, or in the on visible of the screen.  

 

Categories:
  • mdevaney Profile Picture
    29,993 Moderator on at
    @tscott
    To make the form appear blank put this code in your OnVisible property for the screen.

    NewForm(your_form_name);

    You can also put that code in the OnSelect property of the button used to Submit the form.

    —-
    Please Accept as Solution if this post answered your question so others can find it more quickly. If you found this post helpful consider giving it a Thumbs Up.
  • tscott07 Profile Picture
    74 on at

    gescreen on visible code is If(varFormViewMode = "new", NewForm(EditForm3),EditForm(EditForm3))

    I have to be able to view the item on edit but i cannot get that part to work either. I figure the issue is the onVisible formula. 

  • mdevaney Profile Picture
    29,993 Moderator on at

    Best to solve these problems one at a time.

     

    Let’s start by solving the problem to clear the form for new entries. I like your current formula in OnVisible.  Where have you defined the global variable varFormViewMode?  How does it get set to "new"?  Are you sure the value is "new" when you want to work with a blank form?

     

    Then, you'll want to look into the Default property of each DataCard on your form?  They should all be set to blank (i mean clear the field not Blank()) if you want to see no values on the form.

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

    Hi @tscott07 ,

    Do you want your Edit form to be Blank after your submit your Edit form data?

    Could you please share a bit more about the Item property of the Edit form?

    Have you set the DefaultMode property of the Edit form to FormMode.Edit?

     

    I have made a test on my side, please consider take a try with the following workaround:

    Set the DefaultMode property of the Edit form to following:

    FormMode.New

    Please take a try with above solution, then check if the issue is solved.

     

    Best regards,

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

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 350 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 318

#3
Mohsin Ali Profile Picture

Mohsin Ali 220

Last 30 days Overall leaderboard