Warn for changes made to Domain Model objects on clicking Close Page Button - Mendix Forum

Warn for changes made to Domain Model objects on clicking Close Page Button

3

Dear Mendix,

There is a very nice module in the App Store named “CommunityCommons”. In there we have a Java Function “objectHasChanged”. We use this frequently, however when your application becomes more complex with an extensive Domain Model the micro-flow becomes too big with too many variations. Every object and child-object (via Relation) needs to be checked, not to forget if it exists first.

How handy would it be if the Close Page Button could be extended with a checkbox: "Warn on made changes to Domain Model Objects”, when ticked all changes made on the page are tracked and either committed when the user clicks Save and Exit or otherwise rolled back when "Exit without save”.

These things would speed up development and make sure less mistakes are made.

 

asked
2 answers

How do you suggest you validate the data?

Created

Totally agree. Handling functions like this is exactly what you want a LowCode platform to be doing for you.

Created