My new blog

My blog has moved to www.davehunter.co.uk/blog see you there.

Tuesday 19 June 2007

Tip: Creating content types in SharePoint 2007

When creating content types try and think generically. One great feature of content types is that they support inheritance. If you have an object for example a car, create a base car content type that contains all the common attributes that a car supports (doors, engine, colour etc) and then create a content type based on the car content type.

For example: Content types that inherit from the car would be convertible and 4x4.



By using this approach you can add common items to the car content type and they will get added to content types that inherit from the car content type. You could then add unique attributes to each of the child content types (convertible and 4x4).


No comments: