Skip to end of banner
Go to start of banner

deletePageTree

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 4 Next »

Syntax

deletePageTree(pageId);

Description

Deletes the selected page and all its child pages.

Parameters

Parameter name

Type

Required

Description

page ID

numberYesID 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)

Returns true if the operation was successful.


Example

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


See also

  • No labels