...
Code Block | ||||
---|---|---|---|---|
| ||||
number source = getPage("CTR", "Clone a page"); //page to clone number newParent = getPage("CTR", "Home"); //parent for the cloned page //clone page and get id, adds "Cloned" to the end of the title //sample syntax - clonePage(pageId, parentId, title) number clone = clonePage(source, newParent, source.title + " (Cloned)"); //clone page and get id |
See Other Recipes
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|
...