Returns a comma-delimited list of the names of the current node’s ancestors, starting from the top node. Returns a blank string if the current node is not a local node.
ListAncestors(SortOrder:String):String
SortOrder specifies the sort order for the return list of nodes. Supported sort order values:
[hier]––Default value for local context. The list of nodes is returned in the standard hierarchy sort order for the current hierarchy.
[alpha]––The list of nodes is returned sorted by node name.
[nodeid]––Limited use for legacy compatibility. The list of nodes is returned sorted numerically on the node ID of each node in the return list.
Note: | You must use brackets around the SortOrder parameter. |
ListAncestors([alpha])
If A, B, C, and D are children of Z, Z is a child of Y, and the current node is D, then the return value is Z,Y.