Sep 19 2018 02:43 PM
Hello, I've been searching to see if this is possible but it appears with the modern experience, you can only copy a site page to the same Site Pages library in the same site. If I switch my view to Classic Experience, I can copy a site page to another site if I put in the URL path to the other site's Site Pages library. Does anyone know if this will be available in the modern experience? We have to use ShareGate currently to copy modern pages from one site to another but we would like to have the ability to do this in the SharePoint UI. Thanks, Thao
Sep 19 2018 10:43 PM
Sep 20 2018 09:45 AM
Sep 04 2019 02:12 AM
@Thao Pham-Aaltonen I've been struggling with this as well and managed to create a workaround with Flow where you create a copy of the page in the new site collection.
Set up the flow as below and then trigger it by checking out and checking the sites.
It has a few drawbacks though:
1. All the pages assets are sourced to the old sites assets library, I haven't found a way to move them without having to relink every single news item. I tried the move action, but in the SP UI you cannot select the site assets library as a target destination. So you cannot delete the old site because the all assets link will be broken on the pages.
2. The one owning the flow will be the creator of all the news created in this manner.
3. Creation date will be changed to the current time, which will screw up the ordering of news for example. But if you don't have a massive amount news pages to move you can keep the chronological order of them if you check out each site separately, starting with the oldest. And then you can just bulk move the rest.
Sep 06 2019 04:31 PM
@NiclasDahl Thanks, Niclas, I'm going to try this out when I get a chance.
Feb 11 2020 08:07 AM
Thanks! This worked great on one of our sites. However, On our main site it did not work. I have Full Control and Admin permissions. I get an access denied error. Do you know if there is anything specific that might be causing this error. Is there anything I need to enable in Admin or Site Settings?
Thanks,
Bren
Feb 11 2020 11:43 PM
It could be that you have to allow customization on the the destination site, you can turn that on with powershell:
Connect-SPOService -Url "https://YOURDOMAIN-admin.sharepoint.com" -Credential $userCredential
set-sposite "https://YOURDOMAIN.sharepoint.com/sites/SITENAME" -denyaddandcustomizepages $false
If that doesn't work there is another way to move the sites and other resources, but it only works if you use Internet Explorer and it requires page customization to be allowed.
This is what you do:
1. open IE and navigate to the site where you have the pages/resources you want to move
2. go the the/a document library
3. click on the view options and pick "view in file explorer" (this is only available in the doc libraries, not list or general site content)
4. This will will open the document folder in your local explorer and then you can browse back to the sitepages folder and copy the content there.
5. Repeat 1-4 on the destination site, but instead of copying you paste the pages/resources there. This works for all the site content (list, assets, lirbraries etc.etc.)
The problem with pages sourcing their images and other content to the old site will still persist though....
Apr 09 2020 12:09 PM
@NiclasDahl , I was looking for solutions to move site pages and was already aware of your technique and have used it before. It seems, however, that it no longer works for moving SharePoint site pages when the target is the new hub site and related site pages. I'm now getting a cannot write and it seems the documents won't copy or check in on the target side. Just wanted to post this here because others may try this and run into the same issue. I sure wish we could still do this because I used to just edit the ASPX file and adjust the image URLs to point to the new siteassets folder and it would be successfully moved.
Jul 24 2020 05:19 AM
@Thao Pham-AaltonenCannot believe this function isn't available, its cost me half a days work so far, and now I'll have to recreate the page from scratch. This is.... SOO Frustrating...
I've tried all the suggestions, none have worked...
Just wanted to write, stage, test, then publish to a wider community!
<grr>
Jul 24 2020 05:20 AM
Aug 04 2020 08:26 AM
@aowen42 It is absurd that this isn't available in the ui. The easiest workaround I've found is to open both sites in SP Designer (custom scripting must be enabled), copy the page and paste it in the target site site pages library. It retains all the original links, image references etc though so you may want to edit a few things once moved - and double check permissions as it appears to inherit the target site's library permissions.
This is so easy to do but why Msft hasn't made this a ui option is beyond me.
Aug 04 2020 10:24 AM
@matt howell Thank you! That was a great suggestion. I really did not want to recreate the page and the Move to is not available.
Dec 08 2020 10:33 AM
Dec 18 2020 06:13 AM
@huddjw54 I was able to copy a page using the save as template feature and ShareGate. I created a template folder on each site, created the template page on the Source site, copied that with ShareGate into the target site. The template was then available on the target site, which I used to create a new page.
Mar 02 2021 05:14 PM
I just watched this video: www.youtube.com/watch?v=cH4zZlXNIIQ and using Power Automate worked perfectly! I was able to move all my pages to the new site.
Apr 23 2021 07:24 AM
@kevincbutler
Worked like a charm! Thanks!
May 17 2021 02:19 PM - edited May 17 2021 02:22 PM
I've been using the old sharepoint site manager to copy pages across site collections
Just add the following to the site url "/_layouts/15/sitemanager.aspx" eg. https://contoso.sharepoint.com/sites/SiteA/_layouts/15/sitemanager.aspx
note that you need to be a site collection administrator to access the tool
May 18 2021 11:01 AM
Jul 28 2021 05:35 PM
Sep 22 2021 01:13 AM