Populating a datagrid from microflow

1
Hi All, I have a datagrid which has multiple selection option. Then I have to display the selected list on another page I selected the list using a microflow and pass the same list on another datagrid present on different page. but I am getting error as parameter ‘list ’ of selected microflow doesnot match the available aruguemts. No arguments are available. Can you please let me know what I am missing?   Thanks!
asked
1 answers
2

You now probably on you first page, gave the microflow a parameter of type object and therefor the selectionofObjects is not a viable input for that microflow.

I think you did that after you ran into the problem that you cannot pass a listofobjects to a page, but only an object.

Solution is to create an helperobject and associations from that object to the selected Objects, store that helperobject in the database and pass the helperobject to the page. On that page you should have a dataview with datasource ‘content’ an in it a datagrid with the selected Object over association to the helperObject.

and the microflow:

For a working example:  mydemoversion8-sandbox.mxapps.io in block Entities go to Employee and button “Action” behaves conform your requirement.

I do hope that there is a better way though….

answered