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.


Discover more from SharePains

Subscribe to get the latest posts sent to your email.

Related Posts

Leave a Reply

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

Discover more from SharePains

Subscribe now to keep reading and get access to the full archive.

Continue reading