From my testing, if you simply go into Site Pages and create a folder called Templates (I'm doing this via the flow first), then copy the file into there it isn't identified as a template. If you do what's shown here, and create a template yourself so it creates the folder then it is. I'm guessing there's something in the background being set to enable templates or similar
Thank you. Just in case anyone has the same problem I had. When I clicked 'create a flow,' it automatically loaded with the 'manual' connector instead of the 'For a selected file' connector. When I created the flow this way, it deleted my information in the manual connector. I had to delete the manual connector and use the 'For a selected file' connector, even though after I saved it this way, it changed 'For a selected file' to 'Manual,' that way my information was saved.
Not sure if this was related to this video or another one - this one is about moving pages? I do have one on using PBI with SP lists, where there's some ticketing reporting... to count tickets there you just do a COUNTROWS() DAX on the table that your tickets are in. The count by user/date/etc is all using the same measure - it's the dimension relationships that group it up on various things.
No, it shouldn't, notifications have to have a trigger. Even the on-modified triggers wouldn't trigger off of a copy, because you're not modifying the page.
I know, right - I was honestly surprised this worked. I was assuming that they didn't have a button to move pages because webpart references would break on move, but clearly they don't, so I'm not sure what the hangup is...
Is it possible to create a flow that can be used to copy pages from multiple sites instead of just the one initially set? Or do you have to change the flow each time for a new site?
Sure, you could, but it’d be a bit clunky. It’d be hard to have a UI on it to start the flow - you can’t push this to all sites, but you could manually enter the site URL and page paths in the flow to use any site. The actions that “get” things will accept a dynamic value like a variable for the site URL if you select “enter custom value”. I’ve not tried this, but you could probably use Power Apps to list sites and pages via API and have a button that passes those to a flow.
THANK YOU!!! I didn't realize I couldn't copy a page in SP Online until (of course) I desperately needed it! I was elated to find your step-by-step video, it worked perfectly (with some tweaks for my scenario). I've never seen any videos from you before, but I subscribed based on this one - very much appreciated! 👏🏽👏🏽
I would check out the flow run history and expand out the steps to try to see where the issue is. It'll tell you exactly what the output is and what it's done for each action there--
@@bi-ome thanks, that helped a lot but I still cannot make it work. I'm having this in the output "message": "Fatal failure occurred during convert stage. Error is: Failed to identify the target parent folder id for the target"
@@erzorroperro Which step is giving the error? If it's the copy file step, make sure that the destination folder exists (go look in the destination library) that you're trying to put it in, and that it's formatted properly with no trailing slash (/SitePages/Templates)
@@bi-ome thanks a lot for your quick reply. I managed to do it by a "manual trigger a flow" linked to "copy file" where I manually selected the file to be copied and also the destination folder. Run it as a test and it worked out fine.
This i̶s̶ ̶g̶̶̶o̶̶̶i̶̶̶n̶̶̶g̶̶̶ ̶̶̶t̶̶̶o̶̶̶ sorry, has already saved me plenty of time. I can also use this to keep a Site for templates in development and then roll them out when I get the green light. Many thanks for sharing
Awesome! That's what I was thinking too, having a central place where you could ship templates to other sites. The lack of lightweight templating across sites in SPO right now is ... difficult.
From my testing, if you simply go into Site Pages and create a folder called Templates (I'm doing this via the flow first), then copy the file into there it isn't identified as a template. If you do what's shown here, and create a template yourself so it creates the folder then it is. I'm guessing there's something in the background being set to enable templates or similar
I follow each step, and every time I hit save, it switches back to "manual" from "for a selected file".
Are you in the modern UI? If yes, try toggling modern off in the toolbar. It can mess with all kinds of things, it’s a bit wonky still.
Thank you. Just in case anyone has the same problem I had. When I clicked 'create a flow,' it automatically loaded with the 'manual' connector instead of the 'For a selected file' connector. When I created the flow this way, it deleted my information in the manual connector. I had to delete the manual connector and use the 'For a selected file' connector, even though after I saved it this way, it changed 'For a selected file' to 'Manual,' that way my information was saved.
Was this the new modern UI? I feel like modern is throwing everything for a loop lately
How have you created a measure for ticket submitted?
Not sure if this was related to this video or another one - this one is about moving pages? I do have one on using PBI with SP lists, where there's some ticketing reporting... to count tickets there you just do a COUNTROWS() DAX on the table that your tickets are in. The count by user/date/etc is all using the same measure - it's the dimension relationships that group it up on various things.
By doing this method does the person that owns the template get an alert if I copy the template onto a different SharePoint owner?
No, it shouldn't, notifications have to have a trigger. Even the on-modified triggers wouldn't trigger off of a copy, because you're not modifying the page.
@@bi-ome thank you 😊
Great video! I'm new to SharePoint and this saved me a lot of work. Thank you so much for your work on this.
Glad it helped!
Thanks a million for this. It's 2024, yet copying a page between sites is so freaking complicated. Wake up MS!
I know, right - I was honestly surprised this worked. I was assuming that they didn't have a button to move pages because webpart references would break on move, but clearly they don't, so I'm not sure what the hangup is...
Is it possible to create a flow that can be used to copy pages from multiple sites instead of just the one initially set? Or do you have to change the flow each time for a new site?
Sure, you could, but it’d be a bit clunky. It’d be hard to have a UI on it to start the flow - you can’t push this to all sites, but you could manually enter the site URL and page paths in the flow to use any site. The actions that “get” things will accept a dynamic value like a variable for the site URL if you select “enter custom value”.
I’ve not tried this, but you could probably use Power Apps to list sites and pages via API and have a button that passes those to a flow.
THANK YOU!!! I didn't realize I couldn't copy a page in SP Online until (of course) I desperately needed it! I was elated to find your step-by-step video, it worked perfectly (with some tweaks for my scenario). I've never seen any videos from you before, but I subscribed based on this one - very much appreciated! 👏🏽👏🏽
Aw that’s so great! 🥹
Great video and easy to follow - it worked for me! thanks for this.
I've tried it a few times and it doesn't work for me for some reason, despite following each step.
I would check out the flow run history and expand out the steps to try to see where the issue is. It'll tell you exactly what the output is and what it's done for each action there--
@@bi-ome thanks, that helped a lot but I still cannot make it work. I'm having this in the output "message": "Fatal failure occurred during convert stage. Error is: Failed to identify the target parent folder id for the target"
@@erzorroperro Which step is giving the error? If it's the copy file step, make sure that the destination folder exists (go look in the destination library) that you're trying to put it in, and that it's formatted properly with no trailing slash (/SitePages/Templates)
@@bi-ome thanks a lot for your quick reply. I managed to do it by a "manual trigger a flow" linked to "copy file" where I manually selected the file to be copied and also the destination folder. Run it as a test and it worked out fine.
@@bi-ome Thanks this was the problem I had, removing the trailing / resolved the issue
I love it! Thank you 🙏🙏
Keep up the good work Christine. I just found your site and it is awesome. Thanks for all you do.
Thanks for your kind words!
This i̶s̶ ̶g̶̶̶o̶̶̶i̶̶̶n̶̶̶g̶̶̶ ̶̶̶t̶̶̶o̶̶̶ sorry, has already saved me plenty of time. I can also use this to keep a Site for templates in development and then roll them out when I get the green light. Many thanks for sharing
Awesome! That's what I was thinking too, having a central place where you could ship templates to other sites. The lack of lightweight templating across sites in SPO right now is ... difficult.