Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

deletePageTree(pageId);

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue

Deletes the selected page and all its child pages.

Deletes the selected page and all its child pages.

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

page ID

Number

Yes

ID of the page to be deleted, the whole tree where this page is a parent will be deleted as well.

Return Type

Boolean (true/false)

...

Code Block
languagejs
boolean success = deletePageTree(11801);
print("Return " + success);

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "page_routines" and space = currentSpace ( )
labelsarray_routines