- Content types define the attributes of the list item, document and folders.
- Content types have been inherited from parent Site Collection to child Site Collection.
- Content type can be published and can be used across Site Collection, using Content type hub and managed metadata Service Application (MMS).
- Content types are reusable.
CT – Content Type
Next step is that we are already looking some default content types in SharePoint lists and document libraries.
Digital Asset Content Types
- Rich Media Assets
- Video Rendition
List content types
- Workflow Tasks
Document content types
- Basic page
- WIKI page
Let’s go and create a Custom content type to capture the employee information.
Open SharePoint site.
Navigate to site settings ->Under Web designer galleries -> Click Site content type.
Under site content types -> click Create.
Provide the name and description of the content type.
Pick the parent content type -> List content type.
In this scenario, I need to capture the employee information in SharePoint list, so I picked the list content type.
Provide the parent content type for -> Item.
If you need to create separate group for your custom content types, you can create and host under new group else pick the default group.
Click OK to complete the setup.
After successful creation of content type, it will look, as shown below.
Add the columns to capture the employee information.
Click Add a new site column.
I am just hiding the default title column.
|EmployeeName||Single line of text|
|Designation||Single line of text|
|BloodGroup||Single line of text|
|Mobile||Single line of text|
|Single line of text|
Next step is to create a custom list.
By default New Item content type is available.
Navigate to List settings in the top ribbon.
Under Content types – > Click Add from the existing content types.
Select the content type -> click Add – >Click OK.
Pick EmployeeDetails as default content type by changing the order.
Let’s go to Item – > New Item.
Just Modify view and see the add employee details.