return com.mendix.core.Core.getModelVersion();
If you just want to show it in a page you could also get it through javascript:
mx.version
e.g. put in a HTMLSnippet widget:
var mendixversion = document.createElement("SPAN");
mendixversion.innerHTML = mx.version;
var htmlsnippet = document.getElementById(this.id);
htmlsnippet.parentNode.insertBefore(mendixversion, htmlsnippet);
Thanks I will give this a try.
There is also a module from the AppStore that can get some relevant information, including what you need, from the deployed package:
https://appstore.home.mendix.com/link/app/1657/
It is a bit outdated, though..
Hi @Alex, your code works great only it returns the Mendix version (e.g. 9.19.2) Do you know how to return the MDA build version (e.g. 1.3.1.255)?