I have a custom web template that I use to create a new site-collection. I get the success message, but when I continue to site/default.aspx I get a 404 "The page you're looking for doesn't exist.". I can access /_layouts/settings.aspx
and everything from that. Looking at Site Contents
and Pages
I have one item, which is the PageNotFoundError.aspx
.
What am I missing that somehows hinder the provisioning of a default.aspx
?
My ONET.xml
contains the following that I thought would result in a default.aspx
<Feature ID="22A9EF51-737B-4ff2-9346-694633FE4416">
<!-- Publishing -->
<Properties xmlns="http://schemas.microsoft.com/sharepoint/">
<!--<Property Key="ChromeMasterUrl" Value="~SiteCollection/_catalogs/masterpage/icp.portal.master"/>-->
<Property Key="DefaultPageLayout" Value="~SiteCollection/_catalogs/masterpage/PageLayoutTemplate.aspx"/>
<Property Key="WelcomePageUrl" Value="$Resources:osrvcore,List_Pages_UrlName;/default.aspx"/>
<Property Key="PagesListUrl" Value=""/>
<Property Key="AvailableWebTemplates" Value=""/>
<Property Key="AvailablePageLayouts" Value=""/>
<Property Key="AlternateCssUrl" Value="" />
<Property Key="SimplePublishing" Value="true" />
<Property Key="EnableModerationOnPages" Value="false" />
<Property Key="EnableModerationOnDocuments" Value="false" />
<Property Key="EnableModerationOnImages" Value="false" />
<Property Key="EnableSchedulingOnPages" Value="false" />
<Property Key="EnableSchedulingOnDocuments" Value="false" />
<Property Key="EnableSchedulingOnImages" Value="false" />
<Property Key="EnableApprovalWorkflowOnPages" Value="false" />
<Property Key="EnableApprovalWorkflowOnDocuments" Value="false" />
<Property Key="EnableApprovalWorkflowOnImages" Value="false" />
</Properties>
</Feature>