Skip to content

Fix for 1274 - Fixing publish option for template provisioning extraction - #1275

Open
Magnus-K-work wants to merge 1 commit into
pnp:devfrom
Magnus-K-work:bugfix/1274-provisioning-option-to-handle-page-as-unpublished
Open

Fix for 1274 - Fixing publish option for template provisioning extraction#1275
Magnus-K-work wants to merge 1 commit into
pnp:devfrom
Magnus-K-work:bugfix/1274-provisioning-option-to-handle-page-as-unpublished

Conversation

@Magnus-K-work

Copy link
Copy Markdown

Related issue:
#1274 - Provisioning - Template extraction always sets page as Published

What is changed:
ProvisioningTemplateCreationInformation.cs - line 34 Added a propery that will control if extracted pages will be drafts or published. Defaults to state Published, to preserve original behavior.

ClientSidePageContentsHelper.cs - line 108, use value from template provisioning information object instead of setting to true.

Tests:
Not run in full, as many provisioning tests require installation of O365 Starter Intranet which is outdated/archived

Third public PR ever, please help me improve. :)

BR
Magnus

@Adam-it Adam-it added the area: provisioning ⚙ Provisioning engine issue or pull request label Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: provisioning ⚙ Provisioning engine issue or pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants