...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | deletePageTree(pageId); | Package | | Alias | | Pkg Usage | |
|
Description
Excerpt |
---|
|
Deletes the selected page and all its child pages. |
Deletes the selected page and all its child pages.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
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 Boolean (true/false)
Returns true if the operation was successful.
Example
Example 1
Code Blockcode |
---|
|
boolean success = deletePageTree(11801);
print("Return " + success); |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = " |
---|
|
...
...
routines" and space = currentSpace ( ) | labels |
---|
|
...
...