Tree.changeNodeState (Method)

Changes the state of a tree node to 'Active', or 'Inactive'.

Returns:

Void

Arguments:

Name Type Required Description
id TreeID Required The unique ID of the tree.
nodeID TreeNodeID Required The unique ID of the tree node.
state ActiveInactive Required The state to which CommonSpot sets the tree node, as follows: 'Active' or 'Inactive'.

Context:

License Requirements (none)
Permission Requirements treeNav:Edit
Deny Context (none)
Require Context AuthoringEnabled
Author Lock (not required)
Transaction Logging If transaction logging is enabled at the site level, calls to this method will be logged
Customization Customization is not supported for this method.

Error Codes:

Code Error Message
403  
87504 The specified node is not valid for the specified tree.

Notes:

None