Show list of data based on condition

Hi, I have created on entity which store employees data. I want to design a page which accept employee first name as input and display list of employees with that first name in the same page or second page.  Could you please advice me how to implement this functionality.   Thanks in advance.
2 answers

Hi Abrar,

Create a page, add a data grid with data source as Employee, you can add search boxes to the data grid .

This will be enough for your requirement.




Hey Abrar,


You mean something like this? (but in your case the firstname will come as input parameter)

So that you input a firstname and that you get a list of people with that first name?
You can do this by making a microflow that accepts either a object of type employee (which contains the first name) or a non persistable (NP) object with the firstname in it. 

Then you retrieve a list of employees with the firstname is the firstname of the object or the non persistable object.

Then you can set this microflow as the source of the data grid.

Then you can send the employee object or the NP object to the page and it will show only the employees who have that first name.


Hope this is clear,


Good luck!