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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

How to Refresh the formContext in unified interface after closing a popup window

(0) ShareShare
ReportReport
Posted on by 35

Hi All,

I am using the unified interface.

After closing the popup window successfully I am refreshing the formContext

formContext.data.refresh(true);

It is working in web client Ui but not in UCI.

Is there any way to do refresh form in UCI.

Thanks in Advance.

I have the same question (0)
  • Ics_rthompsoneu Profile Picture
    74 on at

    Give this a try

    var caseid = StandardFunctions.FormatGuid(formContext.data.entity.getId());
    
    var entityFormOptions = {};
    entityFormOptions["entityName"] = "incident";
    entityFormOptions["entityId"] = caseid;
    
    // Open the form.
    Xrm.Navigation.openForm(entityFormOptions);

  • Ria roy Profile Picture
    35 on at

    With that approach only some fields of the form got refreshed but not all the fields.

  • Suggested answer
    Henry J. Profile Picture
    5,237 on at

    Hello,

    The refresh client API should work in Unified Interface.

    Can you describe what's not working in more details?
    How is your pop up opened and closed?
    Are you sure the on-close event of your pop up triggers a refresh on your record form?

    Have you tried to compare the behavior you are experiencing with the injection of a refresh using the F12 console?
    Xrm.Page.data.refresh(true);

    If you have issues troubleshooting, consider opening a case with Microsoft Support: https://admin.powerplatform.microsoft.com/support

    Henry

  • Suggested answer
    Kathan Profile Picture
    20 on at

    try using formContext.ui.refresh(); in the function

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 76

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans