CRM2013 / window.open / problem RRS feed

  • Question

  • We have developed a Silverlight application in CRM2011 .
    In this application, a Silverlight DataGrid is included. When the user double-clicks on the DataRow, a new 
    window (detail-data) opens.


    Opening the detailed dataset doesn't work in CRM2013 in the same way as in CRM2011.
    Instead of the detailed data(popup) the Silverlight application is shown.

    function OpenCrmForm(url) {
        /// <summary>Open CrmUrl(DetailData) in new window</summary>
        /// <param name="path" type="string"></param>
        if (!url) return;
        var _Uri = (Mscrm != null && Mscrm.CrmUri != null)
                        ? Mscrm.CrmUri.create(url).toString()
                        : Xrm.Page.context.prependOrgName(url);
        var _getUri = function (uri) {
            return (Custom.MyContext.isAvailable)
                    ? Xrm.Page.context.getClientUrl() +"/" + uri
                    : uri
        var crmUri = _getUri(_Uri);
        window.open(crmUri, "", "status=0,resizable=1,width=1000px,height=600px");
        //Xrm.Utility.openEntityForm("account", "75b1ffef-5224-e311-93f8-0050568e7857");

    How can I solve this problem?

    Thank you in advance,

    Sven Honert

    Friday, November 1, 2013 2:01 PM