HI All,
I have problem in dropdownkey if I not select from the list how can get the default value.
I have done the coding below
ISimpleTypeModifiable myType =
wdThis.wdGetAPI().getContext().getModifiableTypeOf("RoleKey");
IModifiableSimpleValueSet values =
myType.getSVServices().getModifiableSimpleValueSet();
values.put("key","values");
and so on.
I am retrieving the values
String rolekey =wdContext.currentContextElement().getRoleKey()
if i am not selecting from the drop down then I setting
if(rolekey.equals(""))
{
rolekey="NONE";
}
But I am not getting the NONE .
please help.