Tree.changeState (Method)

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

Returns:

Void

Arguments:

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

Context:

License Requirements (none)
Permission Requirements treeNav:Admin
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  

Notes:

None