SharePoint Content Type IDs – How to Find / Create?

SharePoint Content Type IDs – Reference:
Here is the reference for SharePoint 2010 Parent content type id format:

Content TypeID
 System0x
 Item0×01
 Document0×0101
 Event0×0102
 Issue0×0103
 Announcement0×0104
 Link0×0105
 Contact0×0106
 Message0×0107
 Task0×0108
 Workflow History0×0109
 Post0×0110
 Comment0×0111
 East Asia Contact0×0116
 Folder0×0120

How to find content type ID in SharePoint?

Go to: Site Settings >> Site Content Type Gallery and pick your content type. The URL will be something like this:
http://sharepoint.yourcompany.com/_layouts/ManageContentType.aspx?ctype=0x01013216CC96666E954646548B24654

Get the Content Type ID from URL Parameter Ctype.

Using PowerShell in SharePoint to Get Content type ID

We can retrieve all the available content type IDs using Object Model. Here is the PowerShell snippet

$SPsite = Get-SPSite "http://sharepoint.crescent.com"
$SPweb=$SPsite.RootWeb
write-host "Content Type Name ,  ID "
Write-host "------------------------ "

#Get All available Content Types
$SPContentTypeCollection = $SPweb.AvailableContentTypes;

#Iterate through each content type and get name and ID
Foreach ($SPContentType in $SPContentTypeCollection)
{ 
     write-host $SPContentType.Name "," $SPContentType.id  
}
sharepoint 2010 content type id format

How to create a content type id in SharePoint?

Just append a new GUID with Parent Content Type IDs (As provided in above table).

MSDN Reference: http://msdn.microsoft.com/en-us/library/aa543822.aspx

Salaudeen Rajack

Salaudeen Rajack is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

Leave a Reply