Hi Ninad,
Check out this code:
Create node attribute of type DropDownByKey and then proceed like,
IWDAttributeInfo CityInfo = wdContext.nodeTravelData().getNodeInfo().getAttribute("Destination City");
ISimpleTypeModifiable cityType = cityInfo.getModifiableSimpleType();
IModifiableSimpleValueSet cityValueSet = cityType.getSVServices().getModifiableSimpleValueSet();
cityValueSet.put("1","Banglore");
cityValueSet.put("2","Delhi");
cityValueSet.put("3","Pune");
Regards
Venkat
Add a comment