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 / Updated data not shown...
Power Apps
Answered

Updated data not shown in second screen form

(1) ShareShare
ReportReport
Posted on by 24

Hello, I created a powerapp with data from a MS Lists table. I created two screens with forms refering to the same data source.

When I change a data field in form of screen_1 and submit the form, the data is correctly updated in the datasource table. But when I navigate dot screen_2 in which a form also refers to the same data table, it is not showing the updated data, but the old data before submitting the form from screen_1. I already tried adding Refresh(Datasourcename) in OnVisible of screen_2 but that doesn't seem to load the updated data from the datasource.

Any ideas what I can do to get updated data every time I navigate from 

Categories:
I have the same question (0)
  • MVP-Phipps Profile Picture
    3,521 Super User 2024 Season 1 on at

    My suggestion would be to add the Refresh of the datasource on the form success. Or add it to the button where you navigate to the second screen.

     

    Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful as can help others.

  • Abhilash_Swain Profile Picture
    901 on at

    Hi @PaSk ,
    The things happen so fast , that when you refresh the data on Visible of second screen, the updated data is not yet available. Its better to give a pause and refresh.
    > On success,  UpdateContext({startTimer:!startTimer});

    Insert a timer control.

    Start property of timer and add variable startimer .

    Set the duration to 3000/5000 milisecs. 
    OnTimerEnd property : Navigate(Screen2)

    make the Visible property of Timer false.

     

    Give alike to encourage and accept it as solution if it helps.

     

     

  • MVP-Phipps Profile Picture
    3,521 Super User 2024 Season 1 on at

    A timer can be avoided by calling the refresh before the navigation function.

  • Abhilash_Swain Profile Picture
    901 on at

    Hi @phipps0218 ,
    The refresh should solve our requirement. However, I have a real time scenario where it work after 3 secs. 

  • MVP-Phipps Profile Picture
    3,521 Super User 2024 Season 1 on at

    Yeah it can vary depending on the size of data being updated and refreshed 🙂 

  • PaSk Profile Picture
    24 on at

    I tried add Refresh to form success, but that doesn't have the effect I wanted. I cant put Refresh on the Button for Navigate beauses these are build via component, whicht doesn't "know" the Datasource to refresh. 

    Any other ideas?

  • MVP-Phipps Profile Picture
    3,521 Super User 2024 Season 1 on at

    Doesn't have the effect you wanted? Please can you explain? Did it refresh the data source and pull in the updated record?

  • PaSk Profile Picture
    24 on at

    The data doesnt_t update in screen_2, even when I sendform with Refresh(Datasource) onsucces, wait for 1 minute and then navigate to screen_2. I am within a Galery SelectedItem with screen_1 an screen_2. Maybe this is a reason? I realized when I navigate back to Galery first, then select the just updated item again, then navigate to screen_2 of this item, then the updated date is shown. But not this way: select item in Galrery > navigate to screen_1 (of selected item), update data here, Refresh(Datasource), Wait, > navigate to screen_2 (of selected item). That doesnt show the update...

     

  • Abhilash_Swain Profile Picture
    901 on at

    @PaSk Could you please explain what are the tasks you are doing in screen 1 and then in screen 2.
    It will be easy to guide.

  • MVP-Phipps Profile Picture
    3,521 Super User 2024 Season 1 on at

    I have a feeling this is because of your Item Property in Screen_2. 

    @PaSk please can you share what you have as your gallery item in Screen_2.

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 377 Most Valuable Professional

#2
11manish Profile Picture

11manish 165 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 110 Super User 2026 Season 2

Last 30 days Overall leaderboard