After blogging recently about Sql Server, I decide today to blog about SharePoint, and in particular content types. A good resource for this is Ted Pattison screencast ContentTypes.wmv.
Content types in previous version was only possible at document library level. However, it is useful to have many different content types within a library. Thus v3 allows document types to be associated at the document level.
Step 1
=====
Before creating content types, it is important to create site columns (a stand-alone definition for site columns). Site Settings --> Galleries ->Site Columns
It is good practise to put site columns into a new group.
After creating the site columns then it is time to create the content types. The good news is that content types support inheritance. All programmer know about inheritance, but sharepoint users may not know. Inheritance allows many different content types to share properties of another content type. Thus making it easier to maintain and less initial typing.
Step 2
=====
Content types are created by Site Settings --> Galleries ->Site Content Types
Base content types is another term for the content type from which the current content type inherits. It is good practise to setup base content types if there is commonality. Thus add the base content type first.
The content type (currently the base content shall require columns). You are required to add these columns from existing columns. After finishing the create of the columns for the base content type. The derived content types should be created. This follows the same procedure as above.
Step 3
=====
The final step is to configure the document library to use these created content types. If you do not do this then under new, the only option will be to create a new folder.
In the document library go
setting -> Document Library Settings ->Advanced Settings -> click yes option fo allow management types
Note a new section content types shows up under Document Library Settings
Click add from existing site content types and select the document types for this library.
Note you may want to get rid of the default "document" document type. This is done by clicking on the "document" document type and choosing delete this content type.
That's it all Done