Hi,
Is there a way to properly refresh the form with javascript the same way the form is refreshed when you click the Refresh button in the form?
Please don't tell me to use formContext.data.refresh(); because, unlike what MS claims, that does NOT refresh the form nor trigger onload events. All it does is refresh some fields but definitely not all of them (e.g. form display components are not reloaded).
Hi @NoName404
I don't know if you are still looking for a fix to this, but a suggestion could be to navigate to the same record again using the "openform" function:
openForm (Client API reference) in model-driven apps - Power Apps | Microsoft Learn
This way you can take the existing table and id and use that to re-navigate to the record, causing a reload.
Let us know if this works and is a viable solution by marking it as a solution. This way other users can use it for similar challenges.
WarrenBelz
791
Most Valuable Professional
MS.Ragavendar
410
Super User 2025 Season 2
mmbr1606
275
Super User 2025 Season 2