...
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 | movePage(pageId, newParentPageId) | Package | | Alias | | Pkg Usage | |
|
Description
Excerpt |
---|
|
Moves the selected page to a new parent page. |
Moves the selected page to a new parent page.
Parameters
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
pageId |
|
...
...
Yes | ID of the page to be moved. | newParentPageId |
|
...
...
Yes | ID of the new parent page. |
|
Return
...
Type
boolean Boolean (true/false)
Print Return true
Examples
Example 1
Print Return true
Code Block |
---|
|
boolean success = movePage(11801, 10321);
print("Return " + success); |
Print Return true
Example 2
Code Block |
---|
|
number pageId = getPage("PSCONF", "Page");
number newParentPageId = getPage("PSCONF", "New Parent Page");
movePage(pageId, newParentPageId); |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = " |
---|
|
...
...
routines" and space = currentSpace ( ) | labels |
---|
|
...
We've encountered an issue exporting this macro. Please try exporting this page again later.