Skip to Content
0
Former Member
Mar 11, 2009 at 09:40 AM

wdCopyService Error: Node has no valid parent?

48 Views

I tried to do this:

WDCopyService.copyElements(wdContext.nodeResponse25(), wdContext.nodeHeader2());

However it gives the error:

"Node(DemoWSViewSearchOrder.Order.Header2): cannot bind or add elements because the node has no valid parent"

So I initiate the node with this:

IPrivateDemoWSViewSearchOrder.IHeader2Element ele2 =

wdContext.nodeHeader2().createHeader2Element();

wdContext.nodeHeader2().addElement(ele2);

However it is still giving the error:

"Node(DemoWSViewSearchOrder.Order.Header2): cannot bind or add elements because the node has no valid parent"

Any idea why?