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.
Hi @Shalini D M
Add filter to aggregate with selected dropdown value.
And Refresh the aggregate at dropdownOnchange.
Thanks
Krishnanand Pathak
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
i want to display entire table of selected dropdown value
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)
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