movePage

Description

Moves the selected page to a new parent page.

Parameters

Return Type

Boolean (true/false)

Print Return true

Examples

Example 1

Print Return true

boolean success = movePage(11801, 10321); print("Return " + success);

Example 2

number pageId = getPage("PSCONF", "Page"); number newParentPageId = getPage("PSCONF", "New Parent Page"); movePage(pageId, newParentPageId);

See also

Peacock