Skip to content

add client-side solution for copying pages across SharePoint sites#1507

Merged
hugoabernier merged 4 commits into
pnp:mainfrom
ahmad-jad-alhak:main
Jul 13, 2025
Merged

add client-side solution for copying pages across SharePoint sites#1507
hugoabernier merged 4 commits into
pnp:mainfrom
ahmad-jad-alhak:main

Conversation

@ahmad-jad-alhak

Copy link
Copy Markdown
Contributor
Q A
Bug fix? no
New feature? no
New sample? yes

What's in this Pull Request?

Feature: Add Client-Side Solution for Copying SharePoint Pages Across Sites

Summary
This pull request introduces a new client-side solution that enables content authors to copy modern SharePoint pages from one site to another using PnPjs APIs. The solution is built with flexibility and localization in mind, supporting both standard and template-based copies.

Key Highlights

Client-Side Page Copy

  • Allows authors to copy pages between sites without server-side code
  • Supports publishing and promoted state options
    Template Support
  • Pages can be copied as reusable templates

@github-actions

Copy link
Copy Markdown
Contributor

Validation failed!

File: samples/react-application-copy-page/assets/sample.json

@hugoabernier
hugoabernier merged commit 03571c6 into pnp:main Jul 13, 2025
2 of 3 checks passed
@hugoabernier

Copy link
Copy Markdown
Collaborator

Thanks @ahmad Jad Alhak for your sample! Always appreciated!

We'd love to have your sample featured in one of our future community calls.

If haven't done so yet, and you'd be interested on showing this great sample in a public community call, please fill in following form and we'll get you scheduled - aka.ms/community/request/demo

Thank you for sharing your sample with others - you rock! 👏🥇👩‍💻

@ahmad-jad-alhak

ahmad-jad-alhak commented Jul 14, 2025

Copy link
Copy Markdown
Contributor Author

Hey @hugoabernier, thank you so much for your feedback and support. I really appreciate it. I'd love to present the solution on the community call. I’ve just filled out and looking forward to the session.

@ahmad-jad-alhak

Copy link
Copy Markdown
Contributor Author

Hey @hugoabernier, I already filled in the form to present the solution, but I haven't received any confirmation yet. Is that normal?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants