Home > Contents > Index > 
TREEMANAGER.verifypath
Verifies that the given path of nodes matches the node's actual path.
Syntax
<TREEMANAGER> <ARGUMENT NAME="ftcmd" VALUE="verifypath"/> <ARGUMENT NAME="treename" VALUE="name"/> <ARGUMENT NAME="npath" VALUE="path"/> </TREEMANAGER>Parameters
ftcmd (required)- Value must be set to
 verifypath.
treename (required)- Name of the tree.
 
npath (required)- A string representing the path to the node.
 
Description
The
verifypathcommand verifies that the given path of nodes matches its actual path.verifypathreturns success or failure in the result code.errno
The possible values of
errnoinclude:
 Value Description -3 No access privileges to table. -109 Tree path not valid. -110 Invalid tree name.Example
<SETVAR NAME="errno" VALUE="0"/> <TREEMANAGER> <ARGUMENT NAME="ftcmd" VALUE="verifypath"/> <ARGUMENT NAME="treename" VALUE="TreetestTree"/> <ARGUMENT NAME="npath" VALUE="950582562373:950582562375:950582562377"/> </TREEMANAGER> <IF COND="IsError.Variables.errno=false"> <THEN> <BR/>worked </THEN> <ELSE> <BR/>failed </ELSE> </IF>
Home > Contents > Index > ![]()
FatWire XML Tag Reference
Copyright 2005,2006,2007 by FatWire Software
All rights reserved.