deleteNode

Description

Delete a single node. Optionally, delete all columns and element associated to that node. The column and element would only be removed when no other modules refer to them. This function returns true when successful.

Syntax

node.deleteNode( name, isDeleteColumn, isDeleteElement);

Arguments

name: The full path of the node to delete.
isDeleteColumn : A boolean that indicates if the columns referenced by that node shall be removed if they are no longer in use.
isDeleteElement: A boolean that indicates if the element should also be removed, if they are no longer in use.

Related Topics 

Node