cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
testavendo
Level: Powered On

Form doesn't reset when Changing from View Mode to new mode

Hi!

I'm facing a weird issue when if I look at a Item in my SharePoint list and then press new item, all the fields will have the value of the previous form.

 

In OnNew under SharePoint intergration I have both Resetform and Refresh('my list') but it doesn't seem to help. I believe I've seen a post where it said that is a bug

 

Any Idea?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Form doesn't reset when Changing from View Mode to new mode

Hi @testavendo ,

 

Please try to use ";" instead:

ResetForm(SharePointForm1);Refresh('MyList');NewForm(SharePointForm1)

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Community Support Team
Community Support Team

Re: Form doesn't reset when Changing from View Mode to new mode

Hi @testavendo ,

 

I cannot reproduce your issue. Have you tested with other web browsers/devices?

In addition, the OnNew property of SharePointIntegration control should be:

NewForm(SharePointForm1)

And check the Item property of Form control:

If(IsBlank(SharePointIntegration.Selected) || IsEmpty(SharePointIntegration.Selected),First('YourListName'),SharePointIntegration.Selected)

 

For more information, please refer to:
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/sharepoint-form-integration

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
testavendo
Level: Powered On

Re: Form doesn't reset when Changing from View Mode to new mode

Hi!

 

Yes, this has been tested on IE11, Chrome,Firefox and safari. Tested on several devices.

 

ResetForm(SharePointForm1),Refresh('MyList'),NewForm(SharePointForm1)

It's a really weird bug, as I've tried to replicate it on other tenant but not getting the same result

Community Support Team
Community Support Team

Re: Form doesn't reset when Changing from View Mode to new mode

Hi @testavendo ,

 

Please try to use ";" instead:

ResetForm(SharePointForm1);Refresh('MyList');NewForm(SharePointForm1)

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors (Last 30 Days)
Users online (5,873)