Create child pages from a list
This script will create new child pages from a list of titles.
number parent = getPage("CTR", "Create child pages from a list"); //page to clone
//list of page titles to create
string [] titles = "Page A|Page B|Page C|Page D|Page E|Page F";
//loop through page titles
for(string title in titles) {
//create pages
//sample syntax - createPage(spaceKey, parentId, pageTitle, pageContent)
number newPage = createPage("CTR", parent, title, "");
}
See Other Recipes
See More Documentation
, multiple selections available, Use left or right arrow keys to navigate selected items