Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how go put Object-type Data to context node attribute.

you know,when u put a simple type data (int type) to a node attribute,which result in have a default zero value with binded inputField element.


a node named xNode,which have a attribute named xAttr.

a)if xAttr is a int type.


ISimpleTypeModifiable type=wdThis.wdGetAPI().getContext().getModifiableTypeOf("ConnectWebQueryCondition.contMonth");

IModifiableSimpleValueSet values = type.getSVServices().getModifiableSimpleValueSet();

values.put(new Integer(1),"01");

values.put(new Integer(2),"02");


b)if xAttr is a Integer type,how to put data(key,value) to the xAttr???

Former Member
Not what you were looking for? View more on this topic or Ask a question