Get a list of options from entity

Hi I m pretty new to Mendix, I have this entity model set up My goal is to allow students to select their favorite candies from a list of predefined candies in the candies table.   I have the above table setup. However, I am having two difficulties. I cant show the list of predefined candies to the student to select on their profile page. As shown in the image below I cant show the student's choice of candies in their profile for administrator view.   Please any help is highly appreciated
1 answers

Hi Amarachi,

You need to do the following:

  1. For the list of candies, you can use a dropdown list and set the data source as the candies entity
  2. To show the student’s choice, use a listview with datasource as association and use the path to the candies table linked through the assaciation between student and candies table


If you need more help, feel free to reach out