getVersion (Client API reference)
Returns the version number of the model-driven apps instance.
Syntax
var globalContext = Xrm.Utility.getGlobalContext();
globalContext.getVersion();
Return Value
Type: String
Description: Version of the model-driven apps instance. For example:
"9.0.0.1103"