Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

Conversation

stevebeauge
Copy link
Contributor

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

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

Requires PR #1650 and #1648

What is in this Pull Request ?

This PR extends to commands Add-PnPFileToProvisioningTemplate and Add-PnPFilesToProvisioningTemplate to support Webpart extraction.

The code checks if pages are .aspx file, and dump all webparts of the page in the template.

A new switch ExtractWebParts is also added to allow forcing/disabling thie behavior (true py default)

…Part' into feature/Add-PnPFile(s)ToProvisioningTemplate-Extract-PageProperties
@erwinvanhunen erwinvanhunen self-assigned this Aug 6, 2018
@stevebeauge stevebeauge force-pushed the feature/Add-PnPFile(s)ToProvisioningTemplate-ExtractWebPart branch from ad73b0b to 5ab7d38 Compare August 27, 2018 19:12
@stevebeauge
Copy link
Contributor Author

Merged all commits to simplify the PR

…te-file' into feature/Add-PnPFile(s)ToProvisioningTemplate-ExtractWebPart
…Part' into feature/Add-PnPFile(s)ToProvisioningTemplate-Extract-PageProperties
@stevebeauge
Copy link
Contributor Author

Close PR, since it's too old.

It has been rewritten in #2288

@stevebeauge stevebeauge closed this Oct 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants