TreeNode.AOTname Method [AX 2012]

Returns the value of the name property of the node.

public str AOTname()

Run On

Called

Return Value

Type: str
The string that contains the value of the name property

In most cases, this yields the same result as the method TreeNodeName.

The following example prints out the name of the first child of the tree node.

static void Job(Args _args) 
{ 
    treeNode t = infolog.findNode('\\Reports\\AssetAcquisition\\Designs\\ReportDesign1\\AutoDesignSpecs'); 
 
    t = t.AOTfirstChild(); 
    print "treeNodeName: " + t.treeNodeName(); 
    print "AOTName:" + t.AOTName(); 
    pause; 
}

Community Additions

ADD
Show: