I have recently published a module that should allow for this scenario. Unfortunately, it’s still being reviewed for Marketplace publication but please see below:
EDIT: Here is the link to the Marketplace page: https://marketplace.mendix.com/link/component/118120
Hi Tim, I tried like this. I created a microflow with a input paramer(same object ) ,a show message activity and commit activity of this object. I called this microflow in the before commit event of the entity. Now I made a change in text box where I added a on change event selected as save changes. As soon as change event triggers, it call microflow ad show the popup. Please try this and let me know how do you feel about it.
I’ve never tried this and want to try and create this functionality as well for our existing applications. I’m not sure if there is an add-on that solves this for you, but how about this.
Create a new non-persistent entity “Toast” with two attribute, called “message” & “_Visible” and associate it to ‘Account’. In your master page-template include a dataview, over association to currentUser only showing the Message attribute and have the content only be shown when _Visible is true. Add some styling to, instead of next to the input, show it in a bottom corner (example).
Then for each OnChange event, add a submicroflow that GetOrCreates the Toast with ‘message’ input parameter, that updates the Toast Object with the input string given (I.e. “Your data has been updated.”) and setting ‘_Visible’ to true, including refresh. Since the message shown is what you put into the parameters, you can easily add context, such as “Your profile name has been updated to T.Steenbergen.”.
Then in that aforementioned dataview, add the MicroflowTimer add-on that, after 5000ms, changes ‘_Visible’ to false, to have the notification disappear. This countdown should be triggered by the previous object refresh.
I don’t consider this a very clean method, but it’s dynamic and easily re-usabe, albeit completely untested :)