Event trigger once form completes loading?

Hi, Would it be possible to trigger a microflow (or anything) at the moment a form has fully loaded? This would enable us to measure the time it takes to complete loading a form and would increase our monitoring capabilities considerably (e.g. we have users in multiple countries all over the world using all kinds of network infrastructures to access the application, being able to measure the time to complete loading would give us an indication of the performance). Thanks.
1 answers

Hi Brian, implementing this as part of a Mendix application is probably difficult. You could try to use the microflow timer widget and configure it to trigger on page load only, but it will probably fire before the page is fully loaded. There's also the mx.addOnLoad() function from the Client API, but I think it is also triggered too early.

At Mendix world we showed our solution for test automation of Mendix applications. It will not only allow you to write automated tests, but also to measure timings. The scenario that you've described is exactly one of those that we want to support. Maybe this is an option for you.

You could also look at other tools that allow you to do the measurements from outside your application.