Duplicate pages
To duplicate an existing page within Sitefinity CMS, perform the following:
- Use the PageManager class to create a new page node
- To create a new page, call CreatePage() method.
You need to specify the parent node, the unique identifier, and the node type.
- Copy the page data of the node, using the CopyPageData() method.
EXAMPLE: To duplicate a page, you can use the following code snippet: