Announcements
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.
try using formContext.ui.refresh(); in the function
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
With that approach only some fields of the form got refreshed but not all the fields.
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);
André Arnaud de Cal...
294,060
Super User 2025 Season 1
Martin Dráb
232,858
Most Valuable Professional
nmaenpaa
101,158
Moderator