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.

Advertisements

Please leave a comment or feedback

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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