getalldescendantsoptions

SitesgetAllDescendants(options)

codeButton

Description
    Gets an array of descendant pages, with optional advanced arguments.

Syntax
    getAllDescendants(options)

Return Type
    Page[]

Parameters

Name Type Description
options Object JavaScript object fields defined in the Advanced Arguments section below

Advanced Parameters

Name Type Description
type PageType[] only get pages of this type
start Integer start the results here
max Integer the max number of results (default 200)
includeDrafts Boolean whether to include draft pages (default false)
includeDeleted Boolean whether to include deleted pages (default false)
search String only return pages matching this query

1-Click Access to over 2,000 Methods!