Xrm.Utility.getGlobalContext
{Quick Tip} – Wanted to know whether your client code is running on-premise or online in Dynamics 365? Use the isOnPremises() method in Global context
Category: CDS,check if online or onpremise,client API,Dynamics 365,Microsoft Dynamics CRM,PowerApps,Xrm.Utility.getGlobalContext Author: Debajit Dutta Date: 4 months ago Comments: 0

For training, consulting and our products, please write to us at – info@xrmforyou.com Recently I faced this scenario where I needed to determine based on whether I am on-premise or online, I needed to write my logic accordingly. We have our popular Sharepoint Utility which is used by a lot of customers and we had … Continue reading {Quick Tip} – Wanted to know whether your client code is running on-premise or online in Dynamics 365? Use the isOnPremises() method in Global context
Source: Debajit