Mendix Build Number

0
I want to be able to display the Mendix Build number within my Application.   How do do I do this?
asked
5 answers
2
return com.mendix.core.Core.getModelVersion();

 

answered
0

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);

 

answered
0

Thanks I will give this a try.

answered
0

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..

 

answered
0

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)?

answered