Hi,
I try to populate a DropDownByIndex element, but result is an empty DropDown.
In View context I have a Node "MyNode" with cardinality 0..n and selection 0..n. and an Attribute "MyValue"
I create a DropDownByIndex and set attribute "Texts" to MyNode.MyValue.
In wdDoInit method I use this code:
ISimpleTypeModifiable myType = wdThis.wdGetAPI().getContext().getModifiableTypeOf("MyNode.MyValue");
myType.setFieldLabel("New label");
IModifiableSimpleValueSet values = myType.getSVServices().getModifiableSimpleValueSet();
values.put("key_1","a");
values.put("key_2","b");
values.put("key_3","c");
but result is an empty DropDown...
Thanks to all
Andrea