---
title: "copyPageChildren"
canonical: "https://support.appfire.com/space/CSOAP/68459089/copyPageChildren"
format: markdown
---
> Macro (aura-html)

See also: [Actions](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458401)

> Macro (details)
> 
> | **Description** | Copy children or all descendents of a page as descendents of another page. copyPage found in parent parameters will be replaced with page title. Does not copy main page, use copyPage for that. |
> | --- | --- |
> | **Required Parameters** | [space](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68459481), [title](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68457665), [newSpace](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458117), [parent](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68454625) |
> | **Optional Parameters** | [descendents](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458756), [replace](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68454965), [findReplace](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68454887), [findReplaceRegex](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68457861), [copyAttachments](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68454802), [copyComments](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68459597), [copyLabels](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458722), [copyPermissions](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68457853), [copyProperties](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458662), [mergePermissions](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68454555), [commentPrefix](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68459627), [targetServer](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68454951) |
> | **Type** | [Create](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68455033/Action+Types#ActionTypes-Create) |
> | **Category** | [Pages](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68455044/Action+Categories#ActionCategories-Pages) |
> | **Output Formats** |  |
> | **Replacement Variables** |  |
> | **Hosting** | cloud,server,datacenter |
> | **Since Version** |  |
> | **Examples** | [copyPageChildren](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458176/Examples#Examples-copyPageChildren) |

## Related How To's

> Macro (cql-query)