Posts Tagged ‘sharepoint’

SharePoint Publishing Site Templates

Written by Denis Stadler on . Posted in Publishing Feature, SharePoint 2010

In SharePoint 2010 there are 3 predefined site templates which use the SharePoint Server Publishing Infrastructure feature:

  • Publishing Site
  • Publishing Site with Workflow
  • Enterprise Wiki

The easiest things to observe when we create a publishing site are the built in lists and libraries: Documents, Images, Pages, Workflow Tasks.
Please be aware that the internal name of the Images library actually is “PublishingImages”. Anyway, you can find all technical details of the publishing infrastructure on MSDN.

But, what I would really like to point in this post are some differences between these 3 site templates:

Step by Step: Customize a SharePoint Article Page Layout

Written by Denis Stadler on . Posted in Publishing Feature, SharePoint 2010

In a previous post I have tried to display some SharePoint pages examples built with the standard Article Page Layouts. With this one I’m going to show you how to add a custom column to the Article Page content type and how to use it on the sites pages.

So, let’s create a site column. Please go to Site Setting -> Site Columns (below Galleries).

Click the Create button. On the new page please complete the column details (name, description, type etc.) and the click Ok. 

SharePoint Publishing Feature Page Content Types Overview

Written by Denis Stadler on . Posted in Publishing Feature, SharePoint 2010

When we speak about content types I think there are some common general principles:

  • all the content types are children of  the visible Item content type (there is also a Parent for this, called _System but is hidden).
  • you should look at the content types as they are Business Entities (with the columns being the fields). By design they have a parent and they inherit all the columns defined within the parent.
  • a great advantage provided by the content types is that you have the possibility to enforce the data structure throughout the site collection. For example if you want to add a new column which must be pushed throughout all the Page Layout Content Type, you could add it in the Page content type.
  • you can define documents templates and page layouts and attach them to the content types. Every time when you are going to use that content type in a library the templates will be available too.

You can find detailed information on the Content type and workflow planning (SharePoint Server 2010) article on TechNet.
In the image below you can see how the publishing feature page content types are defined as children of the system content types (each child content type shows only the incremental differences from the parent):