1. How can I default a dropdown value, let's say A and B, and I want B to be the defaulted value?
2. Let's say 1 school has many English teacher and students.But each class will only be assigned 1 English teacher. How did I default 1 student from that class (eg Class ABC) to that 1 teacher (eg Teacher 123) who is the dropdown value? So I want Teacher 123 to be the default teacher name among the list of other teachers, whenever a student from class ABC login to their e-learning website.
In the pre processing of this UI, set the property value which is to be defaulted.
Lets say, in preprocessing activity/ data transform set the value of dropdown property to "Teacher 123", So by default when UI loads it shows teacher 123 and user can later change the value if required from drop down values.
We don't have to write a data transform. As Mahesh said, we can use default dropdown settings to set the default value. But be careful when you are setting the default value because if that default value is not present in the drop down value, then you will face a run time error.