Dont rollback when closing a pop up

0
I have a page in which associations between non-persistent objects (team - teammember) are set in a data source microflow. Furthermore, a widget shows the teams. When clicking on one of the teams, a pop-up appears that shows all team members in that team. However, when closing the pop up, the default cancel action is triggered and the association is undone. This causes that a second click on the team shows no team members. How can I solve this without making the entities persistable? The weird thing is that there is a page property 'close action', but it cannot be changed...
asked
2 answers
0

Maybe I misunderstand your question, but isn't it possible to replace the cancel button with a microflow that only closes the page (without a rollback of the context object)?

answered
0

You can commit the non-persistent entities. Then you will only rollback to those values.

https://docs.mendix.com/refguide6/committing-objects

answered