Jun 04 2018 09:31 AM - edited Jun 05 2018 03:59 AM
I am using SharePoint 2013 on prem. I am using the powershell pnp provisioning a lot for many projects and it works great. I know how to provision publishing pages. But at this moment I would like to use the OOTB pagelayout "Search Results" which is associated to the contenttype "Welcome Page". When I provision my pnp template I see the new publishing page. It has the correct pagelayout, but the contenttype is incorrect. I see another contenttype (default contenttype). What could be the issue?
Here is pnp template part where I try to provision the publishing page: