PRELIMINARY INFORMATION - SUBJECT TO CHANGE
Gets the children of the specified item.

Syntax

Smartsite SXML CopyCode image Copy Code
T:Smartsite.Base.IntList cms.hierarchy.getchildren(locator location, enum mode, boolean includeStartItem)

Parameters

Name Data Type Description
location Locator The item.
mode Enum The mode.
Enum values:
  • Parents
    Enumerate the parents
  • DirectDescendantsItemsOnly
    Enumerate the direct descendant items only
  • DirectDescendantsFoldersOnly
    Enumerate the direct descendant folders only
  • AllDirectDescendants
    Enumerate all direct descendants
  • RecursiveItemsOnly
    Enumerate all items recursively
  • RecursiveFoldersOnly
    Enumerate all folder recursively
  • AllRecursive
    Enumerate all children recursively
includeStartItem Boolean Determines whether or not to include the specified start item within the result.

Return Value

Data Type Description
T:Smartsite.Base.IntList An IntList containing the children.
SXML