isOnPremises (Client API reference)
Returns a boolean value indicating if the model-driven apps instance is hosted on-premises or online.
Syntax
var globalContext = Xrm.Utility.getGlobalContext();
globalContext.isOnPremises();
Return Value
Type: Boolean
Description: true if the model-driven apps instance is on-premises; false otherwise.
Related articles
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för