Syntax
movePage(pageId, newParentPageId)
...
Excerpt |
---|
Moves the selected page to a new parent page. |
Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
| number | yes | ID of the page to be moved. |
newParentPageId | number | yes | ID of the new parent page. |
Return type
boolean (true/false)
Examples
Example 1
Code Block |
---|
boolean success = movePage(11801, 10321); print("Return " + success); |
...