Skip to Content

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

how to extract text out of simple value set

Hi,

I have two DCs A and B

under DC A i have a node called "Rel" with one attribute in it called "code".

using following code i have put values in it.

IModifiableSimpleValueSet relValueset = wdContext.nodeRel().getNodeInfo().getAttribute("code").getModifiableSimpleType().getSVServices().getModifiableSimpleValueSet();

relValuset.put("1","One")

.... so on.

now this node i have mapped to DC B and bound it to a DropDownByKey element.

My problem.

I wish to extract the text selected key.

if I use IModifiableSimpleValueSet... I get a runtime error that i can not modify the Mapped attribute.

Kindly suggest me a solution.

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