Skip to Content

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

Transfer values within a context

Hi all,

Anybody knows how to assign the value of a DropDownByIndex element (Attribute A10 in Node N1) to another element in another node (Attribute A20 in Node N2) in the same View Context. The structure of the View context is as follows.

NodeN1

-Attrib A10

Node N2

-Attrib A20

-Attrib A21

-Attrib A22

-Attrib A23

Regds

Thiru

Former Member replied

Hi Thiruvengadam Dorairaj,

You can do as follows:

If both data types of A10 and A20 are same,

wdContext.currentNodeN2Element().setA20(wdContext.currentNodeN1Element().getA10())

Thanks,

Shiva

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