Dynamic creation of objects based on button click

0
How to create more than dynamic objects based on button click on same page If i click button then new object create on the same page (user can create one or more than one) 
asked
3 answers
1

Hi Shubham,

 

You can use the page parameter.

 

Suppose you have a list of Entity from a data source microflow and an Enity as page parameter:

 

You can set visibility options only to show the UI elements  when the Entity != empty

 

When opening the page, you can use a microflow like this:

You will just see the List view

 

When you click the ACT_Entity_Create microflow button of the page (Caption could be changed to “Add”), the system will execute:

 

The “Save” button is calling this microflow:

 

It looks like this:

The empty list view. When clicking the button you can fill the first record:

After save:

And the next one:

 

Would this do the trick?

 

Go make it

 

answered
1

Hi Shubam,

you can use this 

https://forum.mendix.com/link/space/community/questions/122130

link.

answered
1

Hi Shubham ,

I think you can use the similar explanation in the below link:

https://forum.mendix.com/link/space/community/questions/122144

You can modify the explanation where instead of a pop up page you can just create a object and link it with the student object with refresh in client activity.


Hope this helps!

Regards,
Sunit Kumar Dubey

answered