Save selected values of Drop Down tag to a list to be used in another form

The selected values from my drop down tag should be stored in a list , the list should be used to fill the attributes of another  form.

Example : To save the number of students in each school of the particular city.  A drop down tag of number of schools available ( School A , School B , School C , School D)  in a particular city.  When the user selects 'School A '  and 'School C ' as the SelectedItems of the drop down.  

The number of Students of only School A and School C should be retrieved from the user using Input Widget. 

SchoolinCity.oap
Champion
Solution

Hi 

You can prefer attached oml.

https://amitj.outsystemscloud.com/SchoolinCity/


SchoolinCity.oap

Hello Amit , this is exactly what I was looking for . Thank you so much. 

Champion

Can you mark solved my solutions.

Champion
SchoolinCity.oml

Hi Cynthia,

If I understood your requirements correctly, this would be one way to do it. Please take a look at the logic and feel free to ask any further questions.

SchoolinCity.oml

Hi Aurelio , the solution is clear and precise . Thank You 

Hi Cynthia,

As per my understanding, I guess you are trying to list all the selected City Schools (using DropdownTags) details inside the Block. If so, you can check the attached oml.

In my solution I have used Advanced SQL, but you can also achieve the same by defining loop logic (may be by using ListFilter etc..).

See this sample: EnterNumberOfStudents

Refer to the attached .oml file.


I hope this helps you!


Kind regards,

Benjith Sam

SchoolinCity.oml

Hello Benjith , thank you so much . I appreciate the detailed solution , very insightful.

Champion
Solution

Hi 

You can prefer attached oml.

https://amitj.outsystemscloud.com/SchoolinCity/


SchoolinCity.oap

Hello Amit , this is exactly what I was looking for . Thank you so much. 

Champion

Can you mark solved my solutions.

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