SharePoint: Create a Publishing Page in a Site Definition using a Custom Page Layout


In a publishing environment we often create custom page layouts based on our own content types, and of course if we are also creating custom site definitions, we’ll probably want to create pages in the site defs which are based on our custom page laouts – how do we do this? Again, it’s all done … Continue reading SharePoint: Create a Publishing Page in a Site Definition using a Custom Page Layout

SharePoint: Provision a Page Layout using a Feature


In a publishing environment, we undoubtedly create new page layouts based either on existing or custom page layout content types, examples of stock publishing page layout content types include; Article Page Welcome Page When we create a new page layout and want to provision it into SharePoint as part of a greater solution you will … Continue reading SharePoint: Provision a Page Layout using a Feature

SharePoint: Setting Web Properties using a Feature in Custom Site Definitions


In this post we’ll create a feature which sets property values of the SPWeb instance against which the feature is activated. The feature is designed to be used within custom site defintions to allow the created web site to be configured in ways suitable to the site defintion. The feature has the following characteristics; There are no feature manifests … Continue reading SharePoint: Setting Web Properties using a Feature in Custom Site Definitions