Repository navigation
Conversation
Push to main
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Type
Related changes
Companion runtime behavior: pnp/pnpframework#1290.
What is in this Pull Request?
ConvertTo-PnPPage -PublishingPagesupports conversion within the currently connected Web. The existing-TargetWebUrland-TargetConnectionparameters select an explicit target, and the cmdlet's public parameter surface is unchanged.The companion Framework determines the transformation mode from the actual Site and Web identities. Same-Web conversion requires an existing writable Site Pages library, retains the source publishing page, and rejects an existing target even with
-Overwrite.The local Framework reference declares its required runtime dependencies and uses the selected build configuration. Help, examples, and the changelog list publishing pages among the page types supported for in-place conversion.
Validation
PublishingPageremains optional; no additional in-place switch or Framework option exists.-PageLayoutMappingparameter and a mapping verified against its body field and zone IDs. All 16 checked body blocks persisted. Default automatic mapping fails for this tenant's catalog item, which lacks PublishingAssociatedContentType.-Overwrite, missing Site Pages, and different-Web/same-site-collection negatives behaved as expected. Failed mapping runs produced no target page.git diff --checkpassed.CS1705: Framework 1.21.49-nightly references Core assembly 1.18.51.0 while the feed resolves Core 1.18.47-nightly. Local companion-build validation passed.This remains a draft pending the companion Framework runtime release. Live acceptance is scoped to the tested tenant, stock Enterprise Wiki/ArticleLeft layouts, and the supplied IPKit_Home mapping.