on 09-20-2007 12:33 PM
hello,
In my test,there is a mode node.Its structure is as follows:
A -
model node,parent node
B----
model node,child node
C----
model node,child node
now, I want to create several A elements.In each A element,there are several C element in it.I don't know how to make it. Would you please help me?Thank you!
Hi Daniel,
Have you tried createAndAddElement on the nodes.
Ex: wdContext.nodeA().createAndAddElement or
wdContext.nodeA().createAndAdd<Element>Element
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel,
Please follow as follows:
A a= new A(); //Assuming that it is strctr in R/3
B a= new B(); //Assuming that it is strctr in R/3
C a= new C(); //Assuming that it is strctr in R/3
Add to a to model object
now add any number of bs to that model object
For each b you can add any number of cs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.