locked
Open a windows app from Dynamics CRM (Multi-Browser support) RRS feed

  • Question

  • Currently in our on premise Dynamics CRM system we call a bespoke quote module by:

    function OpenQuote()
    {
        var oShell = new ActiveXObject("WScript.Shell");
        var varMyQuoteValue = Xrm.Page.getAttribute("name").getValue();
        var varMyRevValue = Xrm.Page.getAttribute("revisionnumber").getValue();
        var prog = "G:\\Software Location\\QM\\CRMQM.exe";
        
        oShell.Run('"'+prog+'"' +' "' + varMyQuoteValue + '" ' + '"' + varMyRevValue + '"',1);
    }

    This works fine within our system Dynamics CRM 2011 RU 11 we are looking to move to CRM 2016 eventually so are looking at incremental updates and the next RU includes cross browser support.  The ActiveXObject is IE only so how would I change this to accommodate Chrome etc?

    regards,

    Matt

    Tuesday, May 3, 2016 3:48 PM