Announcements
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.
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.
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.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 350 Super User 2026 Season 2
M Bilal Khan 318
Mohsin Ali 220