on 04-14-2008 8:27 AM
Dear All,
I have context structure of model node as depicted below with the cardinality:
Response_Find (0..1)
--FindXYZResponse (0..1)
-
Response_Find_RF (1..1)
-
XYZPersonnel_FindRF (0..1)
-
XYZAddress_FindRF (0..1)
-
XYZ_ABC_Find (0..1)
-
XYZ_ABC_child (0..n)
-
XYZ_ABC_child_1 (0..1) -
> NOT COPIED
-
XYZ_ABC_child_child_1 (0..n) -
> NOT COPIED
-
XYZ_ABC_child_2 (0..1) -
> NOT COPIED
-
XYZ_DEF_Find (0..1)
-
XYZ_DEF_child (0..n)
-
XYZ_DEF_child_1 (0..1) -
> NOT COPIED
-
XYZ_DEF_child_child_1 (0..n) -
> NOT COPIED
-
XYZ_DEF_child_2 (0..1) -
> NOT COPIED
-
XYZ_FGH_Find (0..1)
I have similar value node structure with same cardinality. Even the all the attributes of each model node are present in the value node. But its not copying the values for the nodes as shown. Rest of the nodes are getting copied.
Is it the limitation with WDCopyService.copySubtree
Any help??
thanks & regards,
Manoj
Hi,
Have you tried the following method
Copies all elements from to complete subtree of <code>source</code> to
*/
public static void copySubtree(IWDNode source, IWDNode target, boolean full)
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 Ayapparaj,
Thanks for your reply.
But sorry to say i am not clear with you what you have replied.
Where is the copyElements(IWDNode, IWDNode, boolean) method available?
For my scenario every node is getting copied except those node as mentioned as NOT COPIED. But the WDCopyService.copySubtree(IWDNode, IWDNode) is supposed to copy the entire node structure. Then why its not copying these nodes.
I want to know is it the limitation with this method. I am working on NW04s, SP 13.
Please explain your solution once again.
thanks & regards,
Manoj
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.