Versions Compared

Key

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

This script will delete the entire tree of pages included the parent.

Code Block
languagejava
linenumberstrue
number parent = getPage("CTR", "Delete a page tree"); //parent page of tree to delete

//sample syntax - deletePageTree(pageId);

deletePageTree(parent); //deletes the whole tree


See Other Recipes

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

See More Documentation

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