Looking for PowerObjects? Don’t worry, you’re in the right place! We’ve been part of HCL for several years, and we’ve now taken the final step in our acquisition journey: moving our website to the HCL domain. Nothing else is changing – we are still fanatically focused on Microsoft Business Applications!

PowerObjects Blog 

for Microsoft Business Applications


Triggering a Form Refresh after CRM Dialog is Closed on Dynamics 365

Post Author: Joe D365 |

CRM Dialog is a useful custom hosted control that can be used to update certain data. Once it is closed, the form refresh must be completed in order to reflect the changes done in the dialog. Sometimes during this process, the callback function for the CRM, "setCallbackReference," will get triggered, which means the form does not refresh. While this doesn't always happen, you obviously need to know how to refresh the form when it does occur. In today's blog, we'll show you a trick for triggering the callback to refresh the form.

The screenshot below shows how to set up CRM Dialog with the callback function to refresh the form:

And this next screenshot shows the trick to perform before closing CRM Dialog:

It does not matter what value is returned – in the example above, we're returning "Refresh!" The key is that this trick will trigger the callback function to refresh the form. It's really just as simple as that. J

Happy CRM'ing!

Joe CRM
By Joe D365
Joe D365 is a Microsoft Dynamics 365 superhero who runs on pure Dynamics adrenaline. As the face of PowerObjects, Joe D365’s mission is to reveal innovative ways to use Dynamics 365 and bring the application to more businesses and organizations around the world.

PowerObjects Recommends