Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

movePage(pageId, newParentPageId)

Package

Alias

Pkg Usage

Description

Excerpt
hiddentrue

Moves the selected page to a new parent page.

Moves the selected page to a new parent page.

...

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

pageId

Number

Yes

ID of the page to be moved.

newParentPageId

Number

Yes

ID of the new parent page.

Return Type

Boolean (true/false)

...

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

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "page_routines" and space = currentSpace ( )
labelsarray_routines