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

PowerApp form editing problem with refresh

I am new to PowerApps so any specific detail provided would be appreciated.

 

I have a basic form created using PowerApps.  If I edit an existing record using my form, hit save and then that record again the change I just made does not display.  I do, however, see that my data (using a SP list) is correct.  If I refresh my browser and then open the record I see the edit.  Also, if I wait a few minutes before I edit the form  again the new data will appear.

 

Is there a way to ensure the data has been refreshed prior to opening an edit form?

1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

Hi @KCM 

 

Can you add the following expression to refresh the datasource, once your form data is submitted? This need to pe place on the icon you select to submit the record.
 
Expression: 
SubmitForm(Form1);Refresh(DataSourceName)
 
Here, DataSourceName needs to be replaced with your SP list name.
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

1 REPLY 1
yashag2255
Dual Super User II
Dual Super User II

Hi @KCM 

 

Can you add the following expression to refresh the datasource, once your form data is submitted? This need to pe place on the icon you select to submit the record.
 
Expression: 
SubmitForm(Form1);Refresh(DataSourceName)
 
Here, DataSourceName needs to be replaced with your SP list name.
 
Hope this Helps!
 
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (2,061)