cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a context element

Former Member
0 Kudos

Hai,

How can i create a context element for a view dynamically.

regards,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Try the following:

IWDNodeInfo nodeInfo = wdContext.wdGetAPI().getRootNodeInfo().addChild("TestNode", null, true, true, false, true, false, true, null, null, null);

Regards,

Satyajit.

Yashpal
Active Contributor
Former Member
0 Kudos

Hai , Thank you very much.

regards,

naga raju

Answers (1)

Answers (1)

former_member182372
Active Contributor
0 Kudos

Hi,

Context element or context attribute?

For context element use appropriate method in your IWDNode implementation and after creation call add method of node.

For context attribute - see appropriate tutorial : https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/tutorial on dynamic programming of web dynpro applications - 17.htm

Best regards, Maksim Rashchynski.