ChangedDate on save button

0
When you open a dataview form and do not change anything and click on save. Does this trigger mendix to update the changeddate of the record? We want to use the changed date to sort our grid. But when someone opens a record in a view, to look up the details and click on save. What happens? Does the save button check if something is really changed or does it commit the changeddate always?
asked
2 answers
3

I think it saves always. If build a custom save button however, you can call a java action which checks whether an object has changed with the following code:

anyobject.isChanged()

which returns a boolean. (I'll make sure an default action is available community commons release).

answered
0

I think it saves always. If build a custom save button however, you can call a java action which checks whether an object has changed with the following code:

anyobject.isChanged()

which returns a boolean. (I'll make sure an default action is available community commons release).

answered