Forum Discussion
Move/Copy SharePoint Pages from one Site to Another in Classic View
- Jul 14, 2021
Corbenik you can also copy pages, including any images on them, to a different site using a simple flow in Power Automate:
Rob
Los Gallardos
Microsoft Power Automate Community Super User
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
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 :
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.
- RobElliottJul 14, 2021Silver Contributor
Corbenik you can also copy pages, including any images on them, to a different site using a simple flow in Power Automate:
Rob
Los Gallardos
Microsoft Power Automate Community Super User- ReddimensionJun 06, 2022Copper Contributor
RobElliott For anyone reading this in the future. This method didn't work for me (and some others in this thread. From what i can tell Power Automate has changed a bit and this method doesn't work).
So here is the updated version as of 2022: (as a bonus: This works for site assets too i'd imagine (not tested yet)
- liz360Dec 13, 2022Copper Contributor
Reddimension, thanks so much for posting this! I'm new to Power Automate but muddled my way through thanks to your included example and the site page copied over successfully. Much appreciated!
- hportCLMay 13, 2022Brass Contributor
RobElliott I couldn't get this to work. The identifier dynamic content was never offered. I am an admin too so not sure why. Any suggestions.
- ReddimensionJun 06, 2022Copper Contributor
hportCL Same for me. i've tried and tried but that "identifier" never comes up when i select "Site Pages"in tyhe "Get Files" step. When i use one of the Libraries from the dropdown list it works fine but i'd reckon it's something when the "Get File" Step not reading the "Site Pages"Correctly (Hence returning no options).
I've not been able to figure out why. Clearly it works for others in this thread so i'm rather stumped
- RHCPNGJul 02, 2024Copper Contributor
Hi all,
I found out that the original solution of RobElliott still works, if you use the Library ID instead of the name.
You can read how to find the ID here:
https://tomriha.com/how-to-get-sharepoint-document-library-id/
Then you can still use a button to migrate a page.
I you use solutions, you have to use different values for actionParams in the column formatting, see here:
Hope this helps.
- Steven AndrewsJul 14, 2021Iron Contributor
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?
- CorbenikJul 19, 2021Brass ContributorNot exactly, I've used basic level stuff for notifications. I wasn't aware it could be used for this purpose too