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 / New form shows data fo...
Power Apps
Answered

New form shows data for previously opened form

(0) ShareShare
ReportReport
Posted on by 13

I have a powerapp tied to a SharePoint list. When I click New on the list, the new form opens populated with data from the last list entry I opened. If I refresh the page or navigate away from the list then back, it opens a blank form. I've tried adding refresh(datasource) to OnEdit of the data source and I've also disabled "User longer data cache timeout and backgroup refresh" without any success.

Categories:
I have the same question (0)
  • RezaDorrani Profile Picture
    12,145 on at

    Hi @JamieMcKillop 

     

    Capture.PNG

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

  • JamieMcKillop Profile Picture
    13 on at

    Here is what I have.

     

    Capture.PNG

  • RezaDorrani Profile Picture
    12,145 on at

    @JamieMcKillop 

     

    Clear your browser cache and test the updates

     

    --------------------------------------------------------------------------------
    If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

  • JamieMcKillop Profile Picture
    13 on at

    No change.

  • Verified answer
    JamieMcKillop Profile Picture
    13 on at

    I figured out a fix for this. I had some code in OnSuccess. I removed that code and the problem went away.

  • TrayH Profile Picture
    383 on at

    Hi Reza, I know this is an old comment but I'm having the same issue. Users are occasionally seeing data from a previous item when clicking new on a SharePoint list form customized with PowerApps.

     

    Are these settings you have here still a valid way to fix this issue? Thanks!

  • cwebb365 Profile Picture
    3,294 Most Valuable Professional on at

    Still applies except his onsave is backwards. You don’t want to clear / reset the form before saving the data in the form. Basically you want to just put resetfrom on the form for the actions so the form always gets wiped clean on a cancel etc.  

  • TrayH Profile Picture
    383 on at

    Thanks! To be clear, you're saying that OnSave should look like this?

     

    SubmitForm(SharePointForm1);ResetForm(SharePointForm1)

  • cwebb365 Profile Picture
    3,294 Most Valuable Professional on at

    Yup. On save button click you want to save the for (submit) before it resets the form. 

    honestly I would put the reset in the oNsuccess of the form so that if there is validation error it doesn’t reset the form. Like a missing required field I think if missing one it would try to save. Fail then reset if memory serves right.  

  • KISO Profile Picture
    10 on at

    thank you for spelling out the solution for the many that are new to these powerapps

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard