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

Added RemoveEmptySectionsAndColumns option with default true (accorin… #2539

Closed

Conversation

bjdekker
Copy link

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

N/A

What is in this Pull Request ?

ConvertTo-PnPClientSidePage will always remove empty sections and columns after the conversion. There is no way to turn it off. Sometimes you don't want the empty sections to be deleted, for instance if you want to add additional webparts after a conversion. Therefore I introduced a switch parameter in order to be able to turn it off. It is true by default to stay in line with the current functionality, so for existing scripts, nothing changes

…g to page transformation standard) but thus introducing the possibility to turn the removal of empty sections off
@KoenZomers KoenZomers mentioned this pull request Mar 4, 2020
@KoenZomers KoenZomers self-assigned this Mar 4, 2020
@KoenZomers
Copy link
Collaborator

Thanks for your contribution @bjdekker! Merging through PR #2559

@KoenZomers KoenZomers closed this Mar 4, 2020
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