getPages

Description

Returns all descendants of a page (all levels, not only direct children) or a set of pages matching space key and title.

Parameters

Return Type

Number []

Example

1 2 3 4 number [] allChildren = getPages(11801); for(number childPage in allChildren) { %childPage%.labels += "newLabel"; }

See also