Content type ‘0x01010007FF3E057FA8AB4AA42FCB67B453FFC100E214EEE741181F4E9F7ACC43278EE811’ not found

Content type ‘0x01010007FF3E057FA8AB4AA42FCB67B453FFC100E214EEE741181F4E9F7ACC43278EE811’ not found

I just got the above error after deploying a custom site definition.

Within the publishin feature I didn’t have AvailablePageLayouts set. I’m assuming that SharePoint tries to pick up a default layout which doesn’t exist.

Changing:

<Property Key=”AvailablePageLayouts” Value=””/>

To:  <PropertyKey=AvailablePageLayoutsValue=~SiteCollection/_catalogs/masterpage/MyLayout.aspx/>

fixed the issue.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 4,912 other subscribers

Recent Posts

Archive

Thank you for visiting SharePains

%d bloggers like this: