Thursday, October 3, 2019

JavaScript to check run on UCI or not in Microsoft Dynamics CRM

function isUCI(){
        var globalContext = Xrm.Utility.getGlobalContext();
        var t1 = globalContext.getCurrentAppUrl();
        var t2 = globalContext.getClientUrl();
        if (t1 !== t2)
            return true;

    return false;
}

No comments:

Post a Comment

Built a PowerApps control that shows PDF files saved records in MSCRM/Dataverse

Please find my YouTube Video link for Built a PowerApps control that shows PDF files saved records in MSCRM/Dataverse  YouTube Link Git Hub ...