question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New command: `spo page copy` to be able to create a page from an existing one

See original GitHub issue

Usage

The page copy command can be used to create a copy from an existing page. This is useful when using page templates.

Description

Allows you to copy a modern page from an existing page or template.

Options

Option Description
--sourceName <sourceName> Name of the source file
--targetName <targetName> Name of the target file to be created
--webUrl The URL of the site
--overwrite Overwrite the target page when it already exists
--verbose Runs command with verbose logging
--debug Runs command with debug logging

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
estruyfcommented, Jan 21, 2021

I’ll do the change

2reactions
estruyfcommented, Jan 21, 2021

@garrytrinder that is also an option. Shall we change targetName to targetUrl? That can be relative or absolute. This way, you can copy it to the same site, or another site.

Read more comments on GitHub >

github_iconTop Results From Across the Web

3 Easy Steps to Replicate SharePoint Pages - Intranetbee
Save an existing page as a Template · Use the Copy command to copy the page to the Templates Folder · Open the...
Read more >
Create and use modern pages on a SharePoint site
Select + New, and then select Page. ... Alternately, you can go to an existing page, select + New, and select Page. Or,...
Read more >
How to copy pages in SharePoint Online
Click the checkbox next to the page you want to copy (you can also right-click) and choose Copy to. On the side panel,...
Read more >
How to Duplicate Pages in SharePoint Online (2022 Update)
Method #1: Copy to option from the command bar · Method #2: Copy of this page option from the new button · Method...
Read more >
How to Copy Pages in SharePoint Online Easily? - YouTube
Today, we will be demonstrating the capability of copying pages in Dock Intranet Portal/SharePoint Online.Please note that this works only ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found