Both the SummaryLink column and the SummaryLink webparts allow the user to store arbitrary URL’s either on a page in a webpart or in a page column, and both of these components are well documented in terms of styling and exercising them using the object model. What isn’t well documented (at least not that I [...]
Read moreSharePoint: SPFeatureReceiverProperties.Feature.Parent Reference
When developing a feature receiver, you typically need a reference to one of the Object Model classes which represent the feature scope, that being; Web – SPWeb Site – SPSite WebApplication – SPWebApplication Farm – SPFarm Since within a feature receiver you don’t know how it’s being activated/installed (either using the UI or the command-line) [...]
Read moreSharePoint: 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 [...]
Read moreSharePoint: 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 [...]
Read more

August 31, 2011

