Skip to end of banner
Go to start of banner

getChildPages

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Syntax

getChildPages(parentId)

Description

Get the list of child pages (direct children) for a selected page.

Parameters

Parameter name

Type

Required

Description

parent ID

numberyesID of the selected page for which to retrieve direct child pages.

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

  • No labels