15
Views
5
Comments
Want to display already saved list of data(table) when the user select a dropdown

I want to display the table of the particular UserRole  which is already saved in the database when the user select the dropdown value which as user role in it, can anyone please help me to do this.

2023-04-16 15-25-31
Krishnanand Pathak

Hi @Shalini D M 

Add filter to aggregate with selected dropdown value.

And Refresh the aggregate at dropdownOnchange.

Thanks 

Krishnanand Pathak 

2020-11-25 10-45-32
Mostafa Othman
Champion

Hello Shalini,

As per my understand from your question you want to allow user to select a value from dropdown list based on this value you will display data.

You will need to handle Onchange event of your dropdown list and inside action you will refresh aggregate that return data using value selected from dropdown list as filter into aggregate.

If you will retrieve data only after user select value from dropdown list  as best practice please make fetch of your aggregate to be on demand and you will refresh this aggregate each time user select value from dropdown

UserImage.jpg
Shalini D M

i want to display entire table of selected dropdown value

2020-11-25 10-45-32
Mostafa Othman
Champion

So you will get table name from value selected from dropdown list ? Or you have predefined options with tables ( for example if user select value A you will display user table data and if he select B you will display Address table data) 

2020-11-25 10-45-32
Mostafa Othman
Champion

If you are new to OutSystems I recommend to start with this course which will help you to build reactive web applications: 

https://learn.outsystems.com/training/journeys/web-developer-662/outsystems-overview/o11/2155


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.