web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Refresh underlying for...
Power Apps
Unanswered

Refresh underlying form from Custom Page

(0) ShareShare
ReportReport
Posted on by 293

I have a custom page launched when a model driven app form is loaded. This page updates data on the underlying form. Is there a way to refresh the underlying form (on close or otherwise)? Say, something that is similar to ModelDrivenFormIntegration.Refresh()?

I have the same question (0)
  • KASCHN Profile Picture
    293 on at

    I think this is correct? Please confirm:

     Xrm.Navigation.navigateTo({
     pageType: "custom",
     name: worksheetName,
     entityName: entityName,
     recordId: recordId,
     }, {
     target: 2,
     position: 2,
     width: { value: 75, unit: "%" },
     title: "Enter Results Worksheet",
     }).then(() => {
     console.log("success");
     formContext.data.refresh();
     }, (e) => console.log(e));
  • Verified answer
    Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at

    Hi @KASCHN , 

     

    That is correct. The Xrm.NavigateTo(...).then(formContext.data.refresh) should be a good way to refresh the data on the form,

     

    I must say, that when I did the test a few months ago, I didn't had to refresh the form, because it was automatically refreshed.

    How do you close the CustomPage using PowerFx? If using the recommended "Back()" doesn't refresh the form, you could use the "Navigate(Lookup)". That will refresh the form too. 

     

    https://docs.microsoft.com/en-us/power-apps/maker/model-driven-apps/page-powerfx-in-model-app?WT.mc_id=BA-MVP-5004107

     

    Hope this helps!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard