confused with add and edit (datagrid)

0
hello mendix developers, i am confused about the add and edit of the datagrid .   i want to call a seperate microfolow for add and edit but i am not able to do so !! how can i differentiate between add in edit in the microflow?   any help would be highly appreciated
asked
4 answers
0

Using add you will create a new one and in edit you will modify the already existing one.

In add you can create a new object and in edit you can pass parameter, using that you can modify the existing object.

 

answered
0

Hi sandesh,

 

you can try isNew() in the microflow to differentiate the object is new.

 

Check the below link for reference

https://docs.mendix.com/refguide/special-checks/#new

answered
0

Hi Sandesh, 

if you are trying to create microflow then try using custom buttons for new and edit so that you can create different microflows based on your requirement.

answered
0

Hi Sandesh,

 

 

For data grids, use the “Action” button for custom microflows.

answered