Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I understand that content type gives the definition for the set of fields in a list which can be reused while creating many other lists and a list template gets a copy of an existing list with or without content and reuses that copy with many other lists. Can anyone explain a clear cut difference between content types and list templates? Moreover, where will the template definition be stored? is it in the file system or in the content Database? Will the Content type definition be stored in the content Database as well? If so, why? can anyone please clear this doubt?

share|improve this question
add comment

2 Answers 2

up vote 2 down vote accepted

The difference is, that a list created from a template is not coupled with the template after creation. For example: If you add a new field to the content type, all lists can be updated automatically to include the new field. That is not true for a list template.

All definitions (content types, list templates) are stored within the content database, because it is THE place to store everything related to the content.

share|improve this answer
    
Thanks Marco! I have understood the difference. I just want to clarify something. Can I say both list template and Content type serve the same purpose, that is to provide a layout for list? –  Vaishee Aug 7 '12 at 6:54
    
Well, a content type can do something more, like providing an information panel in Office clients, attach Workflows, etc. –  marco Aug 7 '12 at 7:10
add comment

@Marco :- The list created from a template still shares the schema with the template definition which it reads from the front end from the disk. ONLY when you modify a specific list instance schema DOES the schema go into the DB. And even then, only the DIFF from the original schema is put in the DB. At runtime, SharePoint combines the schema in a smart way to render your list.

Getting to the original question:

The difference in short is, content types are a way of grouping fields such that they can be shared across lists.

However list schema are much much richer objects. List schema not only allow you to include content types and fields, they also allow you to describe the views that the lists has and control many important list properties like the ViewForm and EditForm Urls and whether it's a public list or not etc.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.