Skip to Content
0
Former Member
Jan 29, 2008 at 09:04 AM

RE:Extended Value Selector.

12 Views

Hi All

I have taken a evs i.e Extended Value Selector. i have got the values in the evs at runtime and the code that i have used is

IWDAttributeInfo attributeInfo = wdContext.getNodeInfo().getAttribute("Status");

ISimpleTypeModifiable StatusType = attributeInfo.getModifiableSimpleType();

StatusType.setFieldLabel("Status");

IModifiableSimpleValueSet valueSet = StatusType.getSVServices().getModifiableSimpleValueSet();

{

valueSet.put("Key_0","New");

valueSet.put("Key_1","Open");

valueSet.put("Key_2","Assigned");

valueSet.put("Key_3","Closed");

}

wdContext.currentContextElement().setStatus("Key_0");

But i was unable to read the values i.e is selected in that evs can anybody tell how to read values from EVS.....