Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejava
linenumberstrue
number parent = getPage("CTR", "Delete a page"); //page to delete
number [] childPages = getChildPages("Delete a page"parent); //get child pages

//loop through child pages
for(number child in childPages) {

	//sample syntax - deletePage(pageId)

    deletePageTree(child); //delete the child page
}*/


See Other Recipes

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "pages"

...