Quantcast
Viewing all articles
Browse latest Browse all 79901

Close Mscrm.CrmDialog using js code

Hi

I can create and show a CRM dialog by following this article but I can not close it using the js function that calls the dialog. Here is what I do :

var dialofRef;

function callDialog()

{

      dialofRef= new Mscrm.CrmDialog(Mscrm.CrmUri.create(webresourceurl), window, 500, 300);

dialofRef.show();

}

function otherFunction()

{

if(....)

dialofRef.Close();

}

But CrmDialog has not any method like close or hide. Would you please help me ? 


Viewing all articles
Browse latest Browse all 79901

Trending Articles



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