Unable to add associated attribute in Drop Down widget

0
Hi All, I am currently at chapter 4 of Become a Rapid Developer. At point 4.8.2 Using Drop Down Widget, I have added drop down widget where I need to add Course attribute. However I am unable to add attribute like : TrainingEvent_Course/Course/Title.  Course attributes are showing as blank.
asked
3 answers
1

Hi Ketaki,
As Emand Alkurdi said for your use case you have to use a reference selector widget.

As above image “Admission” is my main entity and “Student” is associated entity

As above image i’m accessing the associated entity attribute “Student.Name” in Admission Page by using Reference selector widget.

As above image you can see the Name attribute values of student entity.

As above image the associated entity attributes are listed by using reference selector widget.

Note: Dropdown widget is for Enumeration values .for details
for Reference-Selectorhttps://docs.mendix.com/refguide/reference-selector
for Enumeration : https://docs.mendix.com/refguide/enumerations
for Drop-Down : https://docs.mendix.com/refguide/drop-down

I hope this will help you.
Thanks.

answered
0

Reference selector widget is used for associated entity attributes. Dropdowns work on enumeration type attribute. 

Here are details of the reference selector widget. 
https://docs.mendix.com/refguide/reference-selector

answered
0

Hi,

 

Drop-down widget using for a static list like ‘enumeration’ for associated attribute, you should use reference-selector.

 

for more information use the link below:

https://docs.mendix.com/refguide/reference-selector

answered