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

Announcements

No record found.

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
11manish Profile Picture

11manish 126

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 77 Super User 2026 Season 1

#3
ManoVerse Profile Picture

ManoVerse 71 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans