SOLVED

Move/Copy SharePoint Pages from one Site to Another in Classic View

Occasional Contributor

Hi everyone, I've recently been tasked with moving site pages from one site to another. I've read how you could use Classic view to do this. I'm a SharePoint administrator for our company and have made myself admin of the two sites I'm working with.

 

Problem is, whenever I try to move/copy pages across and put the URL in, it always says I don't have right access for it and would need to request permission from the site owners (me essentially) and no matter how many times I approve myself it just keeps looping me back to the same problem.

 

Does anyone know what's causing this or what I'm doing wrong?

9 Replies

@Corbenik 

Welcome to the forums.  There is a difference between the site owners group and site collection administration.  Do you know which one you are?

 

And can you also provide some information on how you've attempted to copy the files thus far please? I'm guessing you're trying Explorer View in Classic as Copy / move functionality,  the last I checked didn't work through the modern interface for site pages.

@Steven Andrews I'm the site collection admin. I switched to the classic view as I heard (and saw) that there was no way to do this with the modern interface

 

Corbenik_0-1626213685007.png

On clicking that copy command I get taken to the copy prompt and after filling in the necessary details like the destination URL and clicking ok :

 

Corbenik_1-1626213990057.png

It would ask me to request permission, and even if go through with that and then grant myself permission (which is strange as I'm already the site collection admin for both source and destination sites), when I try to copy again it says I need permission again.

best response confirmed by Corbenik (Occasional Contributor)
Solution

@Corbenik you can also copy pages, including any images on them, to a different site using a simple flow in Power Automate:
Button.png

 

Flow.png

 

Rob
Los Gallardos
Microsoft Power Automate Community Super User

@Corbenik 

The limitation here is that it's the Site Pages.  The solution I was going to propose is the one that Rob has provided below.  Are you familiar with Power Automate?

Not exactly, I've used basic level stuff for notifications. I wasn't aware it could be used for this purpose too
Hi RobElliott, thanks for this, I've not personally used that much of Power Automate, I think I'll have a play around with it and see if I can get it to work
Alright I managed to create my own though I don't have the copy icons like you have I do have the option now to copy to other sites. I'll be deploying this to all the other sites here

Thanks very much Rob and Steven!

@Corbenik That copy button isn't built-in, it's added into the SharePoint list by you with JSON column formatting, for example (don't forget to change the flow ID to yours)

 

{
  "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
  "elmType": "button",
  "txtContent": "Copy Page to Intranet",
  "customRowAction": {
    "action": "executeFlow",
    "actionParams": "{\"id\": \"4a16b313-496a-4c5e-b145-3cfa42438bcd\"}"
  },
  "style": {
    "background-color": "#f14717",
    "color": "#ffffff",
    "outline": "transparent",
    "border-width": "1px",
    "border-style": "solid",
    "border-radius": "5px 25px",
    "border-color": "transparent",
    "cursor": "pointer",
    "font-size": "12px"
  }
}

 

 

Rob
Los Gallardos
Microsoft Power Automate Community Super User

You're a legend Rob, thanks very much for your help in this :)

It looks like I've still got a lot to learn when it comes to Power Automate and exactly what it can do. Really appreciate you sharing your knowledge!

(PS. Yes, I managed to add my own button too )