User Tools

Site Tools


cmd:move

This is an old revision of the document!


Move Node to Other Parent

Move specified node to another parent node.

move <node id> <new parent id> [<before id>|-1]

If node id or new parent id does not exist or if the user does now have permissions to add nodes to the parent or alter the current node then an error is returned.

The third argument is optional and will, if omitted, default to -1, meaning “insert last”. Otherwise the node will be inserted in the child list of the parent, before the before id.

Note: Subscribers of this node which are not subscribing on the new parent will get a remove command as the result of this change.

cmd/move.1591547767.txt.gz · Last modified: 2020/06/07 18:36 by deva