Content type
- 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.
Flow
![SharePoint]()
Note
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
- Audio
- Video
- Image
- Rich Media Assets
- Video Rendition
List content types
- Item
- Announcements
- Tasks
- Event
- Reservation
- Workflow Tasks
Document content types
- Basic page
- Document
- WIKI page
- Form
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.
![SharePoint]()
Under site content types -> click Create.
![SharePoint]()
Provide the name and description of the content type.
![SharePoint]()
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.
![SharePoint]()
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.
![SharePoint]()
Click OK to complete the setup.
After successful creation of content type, it will look, as shown below.
![SharePoint]()
Add the columns to capture the employee information.
Click Add a new site column.
![SharePoint]()
I am just hiding the default title column.
![SharePoint]()
Column | Datatype |
EmployeeName | Single line of text |
Designation | Single line of text |
Salary | Number |
BloodGroup | Single line of text |
Mobile | Single line of text |
Email | Single line of text |
Next step is to create a custom list.
![SharePoint]()
By default New Item content type is available.
![SharePoint]()
Navigate to List settings in the top ribbon.
Under Content types - > Click Add from the existing content types.
![SharePoint]()
Select the content type -> click Add - >Click OK.
![SharePoint]()
Pick EmployeeDetails as default content type by changing the order.
![SharePoint]()
Now
Let's go to Item - > New Item.
![SharePoint]()
![SharePoint]()
Just Modify view and see the add employee details.
![SharePoint]()
Happy learning.