You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Page templates do not get checked in when provisioned via ClientSidePage if the ‘Require Check Out’ setting on the Site Pages library is enabled.
#1074
Open
ryder-cayden opened this issue
Oct 24, 2024
· 0 comments
Open PowerShell Core 7 and connect to SharePoint using the Connect-PnPOnline cmdlet. To best reproduce this issue, connect using an Entra App or a different user.
Ensure that the Test-Template.aspx file does not already exist in the Templates folder of the Site Pages.
Deploy the PnP Provisioning template that you created in step 2 by running the following PowerShell cmdlet (replace the path of the XML file accordingly):
Invoke-PnPSiteTemplate-Path .\Test-Template.xml
"From the Office 365 UI, go to the site collection, then go to the Site Pages and Templates folder. Observe that the template you deployed is checked out. If you used an Entra App or a different user in step 6, you will not be able to see the page template and will need to go to the Site Pages library settings and then to 'Manage files which have no checked-in version' to be able to see the page template, which you need to take ownership of.
Expected behavior:
When deploying a new Page Template using a PnP Provisioning template to Site Pages with the "Require Check Out" setting turned on, the Page Template must be automatically checked in.
The text was updated successfully, but these errors were encountered:
PowerShell version: 7.4.5
PnP PowerShell version: 2.12.0
Steps to reproduce the issue:
Connect-PnPOnline
cmdlet. To best reproduce this issue, connect using an Entra App or a different user.Test-Template.aspx
file does not already exist in the Templates folder of the Site Pages.Expected behavior:
When deploying a new Page Template using a PnP Provisioning template to Site Pages with the "Require Check Out" setting turned on, the Page Template must be automatically checked in.
The text was updated successfully, but these errors were encountered: