Hello experts,
Does someone know how to:
Create Extended Value Selector (EVS) with 3 columns, I am trying to do this using the code bellow:
// Access interface ISimpleTypeModifiable for modifying the attribute's datatype IWDAttributeInfo attributeInfo = wdContext.getNodeInfo().getAttribute(IPrivateMain.IContextElement.COUNTRY); ISimpleTypeModifiable countryType = attributeInfo.getModifiableSimpleType(); // Set field label and populate valueset countryType.setFieldLabel("Country"); IModifiableSimpleValueSet valueSet = countryType.getSVServices().getModifiableSimpleValueSet(); for (int i = 0; i < 40; i++){ valueSet.put("Key_"+i,"Country "+i); }
On the line: valueSet.put("Key_"i,"Country "i);
We can just insert two values.
And also, I would like to insert a new value in runtime, Is it possible?
Best regards,