cancel
Showing results for 
Search instead for 
Did you mean: 

how to get the selected value from dropdownby key field to show dialog boxe

Former Member
0 Kudos

Hi,

I have a dropdownbykey field in my view,in which if i select an option ,say "New",It should show me an pop up message and based upon the action on the dialog box it should navigate to another view..

I am facing pbms in comparing the selected value..

in more precise : How to get the selected value from the dropdown box...

Thanx.

Shravan.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You can get the selected value from the attribute which is mapped to the selectedKey property of the dropdownByKey UI element.

Please note that the attribute will return you the key value of the simple type of the attribute mapped to your dropdownByKey UI element.

thanks & regards,

Manoj

Former Member
0 Kudos

Hi,

if you bind the contex attribute X to the drop down. You can select the current element by

wdContext.currentcontextElement().get<attribute>();

Kind Regards

Saravanan K