This script will copy the content of a pageĀ into another page.
Code Block |
---|
language | java |
---|
linenumbers | true |
---|
|
number source = getPage("CTR", "Copy a page"); //page to copy
number newParent = getPage("CTR", "New copy a page"); //destination for the copied page content
//sample syntax - copyPageContent(sourcePageId, targetPageId);
return copyPageContent(source, newParent); |
See Other Recipes
Filter by label (Content by label) |
---|
showLabels | false |
---|
showSpace | false |
---|
cql | label = "pages" |
---|
|
See More Documentation
Filter by label (Content by label) |
---|
showLabels | false |
---|
showSpace | false |
---|
cql | label = "page_routines" |
---|
|