I’m trying to add event tracking to user login, and so would like to intercept the Mendix sign-in function. I was wondering if it’s somehow possible to do so using the ‘signin’ function included in the Nanoflow Commons module? I couldn’t find any info on how to use it though… does anyone have any idea how it might be used? Thanks :)
Hi Elise, you can use the signin function in a nanoflow. This nanoflow must be given an object with at least two parameters (username and password).
So you can build a page, add a dataview and set as source a microflow. In that microflow, you create a LoginView object with those 2 parameters. You can add the LoginView object as a non-persistent object in your domain model.