Syntax
getChildPages(parentId)
Description
Get the list of child pages (direct children) for a selected page.Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
parent ID | number | yes | ID of the selected page for which to direct child pages need to be retrieved. |
Return type
number []
Ids of the child pages for the selected page.
Example
number [] children = getChildPages(11801); for(number childPage in children) { %childPage%.labels += "newLabel"; }
See also