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 / Form doesn't reset whe...
Power Apps
Answered

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

(0) ShareShare
ReportReport
Posted on by 4

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?

Categories:
I have the same question (0)
  • v-monli-msft Profile Picture
    Microsoft Employee on at

    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

  • testavendo Profile Picture
    4 on at

    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

  • Verified answer
    v-monli-msft Profile Picture
    Microsoft Employee on at

    Hi @testavendo ,

     

    Please try to use ";" instead:

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

     

    Regards,

    Mona

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 477

#2
WarrenBelz Profile Picture

WarrenBelz 341 Most Valuable Professional

#3
11manish Profile Picture

11manish 317

Last 30 days Overall leaderboard