Home > Contents > Index >
Template Tag TOC  |   Alpha TOC  |   Tag Family TOC  |   Purpose TOC  |   Annotated TOC  |   Index 

 


TREEMANAGER.movechild

Moves a node and its children to a new parent that may be in the same or a different tree table.

Syntax

Parameters

ftcmd (required)
Value must be set to movechild.

treename (required)
Name of the source tree.

node (required)
ID of the node to move.

newtreename (required)
Name of the new (destination) tree.

nparentid (optional)
ID of the new parent of the node (omit or NULL to move to root).

errno

The possible values of errno include:

Value
Description
-3
No access privileges to table.
-103
No table.
-105
Database error.
-106
Missing or invalid parameters.
-110
Invalid tree name.
-112
The parent node does not exist or this node is a root node. Note that versions of Content Server earlier than 3.5 reacted to these errors by returning an errno of 0 (with an empty resultset 0 rather than an errno of -112).

Example

See Also

copychild

  Home > Contents > Index >

FatWire XML Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.