...
Code Block | ||||
---|---|---|---|---|
| ||||
number source = getPage("CTR", "Clone a page"); //page to clone number newParent = getPage("CTR", "Home"); //parent for the cloned page //clonesnumber page tree, adds "Copy of " to the begining of new page titles, and copys permissions of source //sample syntax -clone = clonePage(pageIdsource, parentIdnewParent, source.title) + number " (Cloned)"); //clone = clonePageTree(source, newParent, "Copy of ", true)page and get id |
See Other Recipes
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|
...