Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 123975

Forum Post: RE: How to refresh a form at the end of a dialog

$
0
0

This is probably because the data on the form has been modified prior to executing the CRM Dialog.

You could try modifying the WatchDetailsWindowForClose function:

function WatchDetailsWindowForClose() {

  if (!popup || popup.closed) {

      /// Do your stuff here....

      clearInterval(detailsWindowTimer); //stop the timer

      if(Xrm.Page.data.entity.getIsDirty() == true) {

          Xrm.Page.data.entity.save();

      } else {

           window.location.reload(true);

      }

  }

}


Viewing all articles
Browse latest Browse all 123975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>