This repository was archived by the owner on Jan 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 652
Feature : Add-PnPFile(s)ToProvisioningTemplate extract web part #1652
Closed
stevebeauge
wants to merge
46
commits into
pnp:dev
from
solutions-pour-sharepoint:feature/Add-PnPFile(s)ToProvisioningTemplate-ExtractWebPart
Closed
Feature : Add-PnPFile(s)ToProvisioningTemplate extract web part #1652
stevebeauge
wants to merge
46
commits into
pnp:dev
from
solutions-pour-sharepoint:feature/Add-PnPFile(s)ToProvisioningTemplate-ExtractWebPart
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…te-file' of https://github.com/solutions-pour-sharepoint/PnP-PowerShell into feature/add-pnpfiletoprovisionningtemplate-support-remote-file
…Part' of https://github.com/solutions-pour-sharepoint/PnP-PowerShell into feature/Add-PnPFile(s)ToProvisioningTemplate-ExtractWebPart
…Part' into feature/Add-PnPFile(s)ToProvisioningTemplate-Extract-PageProperties
…Extract-PageProperties
ad73b0b to
5ab7d38
Compare
Contributor
Author
|
Merged all commits to simplify the PR |
…Extract-PageProperties
…pport-remote-file
…pport-remote-file
…pport-remote-file
…pport-remote-file
…te-file' into feature/Add-PnPFile(s)ToProvisioningTemplate-ExtractWebPart
…Part' into feature/Add-PnPFile(s)ToProvisioningTemplate-Extract-PageProperties
Contributor
Author
|
Close PR, since it's too old. It has been rewritten in #2288 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Before creating a pull request, make sure that you have read the contribution file located at
https://github.com/SharePoint/PnP-PowerShell/blob/dev/CONTRIBUTING.md
Type
Related Issues?
Requires PR #1650 and #1648
What is in this Pull Request ?
This PR extends to commands
Add-PnPFileToProvisioningTemplateandAdd-PnPFilesToProvisioningTemplateto support Webpart extraction.The code checks if pages are .aspx file, and dump all webparts of the page in the template.
A new switch
ExtractWebPartsis also added to allow forcing/disabling thie behavior (true py default)