Skip to content Skip to sidebar Skip to footer

How To Refresh The Parent Form In CRM Dynamics 5.0 After Action Is Completed On Custom Child Form?

I have a parent form called ISSUE. This Issue form has a button called IG on the Form Ribbon that opens custom Html Page. Now after the Submit button is clicked on the Custom form

Solution 1:

You could try:

window.location.href = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search

This will input the same URL minus the hash/fragment. I'm assuming CRM 5 still uses a fragment which would prevent the page from refreshing if you just did a window.location.href = window.location.href.

Caveats:

  1. If there is dirty data on the form, you're going to get a dirty data warning.

Solution 2:

 well, you can use the following line of code.

 window.location.reload(true);

Post a Comment for "How To Refresh The Parent Form In CRM Dynamics 5.0 After Action Is Completed On Custom Child Form?"