Announcements
What is the use of window.parent.location.reload(true) and how it works?
Window.location.reload(true); is not working.
Hi partner,
This method is uesd to feresh the parent form and it is a normal JS menthod, we do not recommend you to use normal js in D365 form.
If you want to refresh form in D365 form, you could use the following ways.
1. formContext.data.refresh(save).then(successCallback, errorCallback);
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/formcontext-data/refresh
2.Xrm.Navigation.openForm
https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-navigation/openform
Hope it helps.
Best Regards,
Leo
Hi,
I used openForm to relaod the page but the BPF is not displaying.
var formContext = executionContext.getFormContext(); var entityFormOptions = {}; entityFormOptions["entityName"] = "knowledgearticle"; entityFormOptions["entityId"] = formContext.data.entity.getId();
// Open the form. Xrm.Navigation.openForm(entityFormOptions).then( function (success) { console.log(success); }, function (error) { console.log(error);
Thanks.
I tried the same code in my instance and it worked well.
Please confirm that did you add the BPF to your app first? Could you share more details about your situation?
Did you resolve your problem? If so, please mark the answer as verified to close this thread to help other users with similar issues.
I don't see how this answers the question. This formcontext method is for the current form not a quick create form's parent, right?
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
KristineRisberg 37
11manish 31
Manoj - ManoVerse 21 Super User 2026 Season 1