Skip to Content
0
Former Member
Nov 05, 2012 at 02:47 PM

Unable to delete dynamically created child node.

31 Views

Hi,

i have created a child node dynamically using


IWDNodeInfo ddlNode = wdContext.getNodeInfo().addChild("DynamicDDLNode"+id,null,true,true,false,false,false,true,null,null,null);

Is it possible to remove (or say delete) this node dynamically?

i have tried wdContext.wdGetAPI().reset(false); but i guess this will delete all the child nodes created.

i just want to delete any particular child node differentiated by id.

i have searched & found that wdContext.getChildNode("<whatever is your dynamic node name>", IWDNode.LEAD_SELECTION).getNodeInfo().remove(); is used to delete any particular dynamic node but ****.getNodeInfo().remove doesnot exist?

Please help as this is really urgent for me to resolve the issue.

Thanks,

Abhishek.