cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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
Highlighted
Community Support
Community Support

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
Highlighted
Community Support
Community Support

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.
Highlighted
Frequent Visitor

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

Highlighted
Community Support
Community Support

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
secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (9,139)