Copy page to site
Copying a page from one site to another in SharePoint is a feature that is not built in – a  useful tool that you might often might want and it’s also a frequent request of users and of the SharePoint community. We are going to cover 3 different ways of doing it. The last one is the easiest and has more features.

#1 Power Automate

In this scenario, Power Automate enables users to choose the page they wish to duplicate, enter the URL of the target site, and then the flow seamlessly handles the copying process.
  • Create a new flow in Power Automate and use the instant cloud flow option.
  • Create a for a selected file trigger
  • Enter the site address and library name and then add an input
  • Select text as the user input type and update the input name and input value placeholder text.copy page to site - power automate - trigger
  • Add a Get file properties action and configure with the following:
    • Source site address of your site pages library
    • Enter either site pages, or the ID of your site pages library
    • Under ID, select ID from the for a selected file triggercopy page to site - power automate - get file properties
  • Add a Copy file action and configure with the following:
    • Current site address: source site address of your site pages library
    • File to copy: Identifier from Get file properties
    • Destination site address: destination site from for a selected file
    • Destination folder: /SitePages
    • If another file is already there: copy with a new name (optional) copy page to site - power automate - copy file
Now, put your flow to the test: select a site page, input the destination site URL, and run your flow to copy the page.

#2 PnP PowerShell

An alternative method involves using PowerShell.
$SourceSiteURL = "https://[Tenant]"
$DestinationSiteURL = "https://[Tenant]"
$PageName =  "[PageName].aspx"
#Connect to Source Site
Connect-PnPOnline -Url $SourceSiteURL -Interactive
#Export the Source page
$TempFile = [System.IO.Path]::GetTempFileName()
Export-PnPPage -Force -Identity $PageName -Out $TempFile
#Import the page to the destination site
Connect-PnPOnline -Url $DestinationSiteURL -Interactive
Invoke-PnPSiteTemplate -Path $TempFile

#3 Torpedo’s Copy Page to Site – Extension for SharePoint

This is our extension that allows non tech-savvy users the ability to copy or move pages to another site, including version history. This powerful SharePoint Framework (SPFx) extension simplifies the task of copying or moving site pages across different site collections or webs. Throughout the guide you can find here, we’ll demonstrate how to utilize the Torpedo extension’s intuitive interface effectively.

Copy Page to Site: an extension for SharePoint

The “Copy Page to Site: an extension for SharePoint” revolutionizes content management within SharePoint environments by empowering users to seamlessly transfer or duplicate pages across sites within the same tenant while preserving comprehensive version history. This innovative solution streamlines the content distribution process, eliminating tedious manual procedures and minimizing the risk of data loss or inconsistency.

Get it from Microsoft AppSource

Ready to enhance your SharePoint experience?

Contact us for:

  • Intranet and Portals: Personalized solutions just for you.
  • Application Development: Intuitive, scalable, and secure solutions.
  • Consultancy Services: Expert advisory solutions.
  • Outsourcing: Maximize productivity.
  • Support and Maintenance: Keep your applications running seamlessly.

If you are interested in learning more about us and how we can help you, contact us

You can also check out our blog for more articles and insights on  Microsoft 365 technologies.