Aug 08 2019 03:56 AM
When applying a PnP provisioning template to a site I ran into an error of a secondary version limit being reached on a page template.
After investigating I found out that page templates are explicitly not published (PnP-Sites-Core, ObjectClientSidePages.cs line 591).
Is there a specific reason for this? And what would be a good alternate to make sure that I can keep provisioning new versions (applying this template is part of a CI release pipeline on Azure DevOps).
Thanks in advance!
Aug 08 2019 08:28 AM
@Marcela Bovio Page Templates aren't published because that would cause them to show up in SharePoint search which may have unintended consequences of showing users pages that would be incomplete
Aug 15 2019 06:15 AM
@Beau Cameron that makes sense, thanks!