Returns a comma-delimited list of descendants for the current node.
ListDescendants(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. |
ListDescendants([hier])
If A, B, C, and D are children of Z, Z is a child of Y, and the current node is Y, then the return value is Z, A, B, C, D.