cancel
Showing results for 
Search instead for 
Did you mean: 

DropDownByKey Usage

Former Member
0 Kudos

I have one main view. I have a drop down by key having 3 elements. There are 3 more views. If I select the option in the drowdownby key 1 the relevant view has to be fired.

I created the Inbound and outbound plugs and done it but the output is the view which i selected prviously

Accepted Solutions (1)

Accepted Solutions (1)

arun_srinivasan
Contributor
0 Kudos

hi sreekar,

write the event handler method for onselect.

let consider 3 key value as a,b,c

String check=wdcontext.currentcontextelement.get<dropdownval>();

String a=new String("a");

if(check.equals(a))

{

wdThis.wdfireplugview2();

}

else if(check.equals(b))

{

wdThis.wdfireplugview3();

}

else

{

wdThis.wdfireplugview3();

}

let me know if it works,

hope this helps u ,

Regards,

Arun

Answers (1)

Answers (1)

former_member8655
Active Participant
0 Kudos

Hi

go to property of ur UI element and select Onselect property for this property create a method and in this method on the basis of selected key using if condition perform the navigation

Enjoy!!

Mitesh