What's the difference between List and Content Type in SharePoint?
For me, it is almost the same.
I see Content type as a special kind of List ?
Is it OK to see it like that ?
What else are the differences?
BTW, I am a beginner to SharePoint.
When you add a site content type to a list or library, it is called a list content type. The list content type is a child of the site content type from which it was created. It inherits all the attributes of its parent site content type, such as its document template, read-only setting, workflows, and columns.
A content type is a reusable collection of metadata (columns), workflow, behavior, and other settings for a category of items or documents in a SharePoint Server list or document library. Content types enable you to manage the settings for a category of information in a centralized, reusable way.
SharePoint has a solution for this, which is Site Columns and Content Types. Site Columns define reusable column definitions and Content Types, which are made up of Site Columns, define reusable schemas for both lists and libraries.
No, that view is false. A very good analogy to understand the differences, providing you know C# or any other modern language:
Lists physically exist and contain physical data in a database, so they are like a table in SQL (please note the actual data structures at the SQL level are completely different, but you definitely don't have to care about this). On the other hand, content types are just definitions, sets of fields, that are applied to lists.
The result is that lists can contain items of various content types. In fact, lists contain heterogenous data. A list item is composed of a union of all fields that are referred to from content types applied to that particular list—hence the class/interface analogy.
If I might add: You create content type for certain data type, and your content type contains set of metadata (or fields) that define your data type.
One list can have several content types attached to itself, and vice versa, one content type can be used by several lists.
When do you create content type? Well, every time you need to manipulate certain data in more than one list/library, it's recommended to create your own content type for that data, so that you don't need to create list fields "by hand" every time. Instead, you only reference your content type.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With