SharePoint List Template ID

Recently, I was helping a client migrate some SharePoint lists from one environment to another, and we needed to programmatically create new lists based on existing templates. The critical piece of information we needed was the SharePoint List Template ID. The issue is… finding and using these IDs isn’t always easy. In this article, I’ll walk you through everything you need to know about SharePoint List Template IDs, including where to find them and how to use them in your SharePoint projects.

What is a SharePoint List Template ID?

A SharePoint List Template ID is a unique numerical identifier that represents a specific type of list template in SharePoint. These IDs are essential when you’re programmatically creating lists, customizing SharePoint, or developing solutions that need to reference specific list types.

SharePoint List Template IDs

Here are the most commonly used SharePoint List Template IDs that I’ve worked with over the years:

List Template Type Names

List Template ID

Custom List100
Document Library101
Survey List102
Links103
Announcements104
Contacts105
Calendar106
Tasks107
Discussion Board108
Picture Library109
DataSources110
UserInformation112
Form Library115
MasterPageCatalog116
No Code Workflows117
Custom Workflow Process118
Wiki Page Library119
CustomGrid120
No Code Public Workflows122
ThemeCatalog123
AppDataCatalog125
DataConnectionLibrary130
Workflow History140
Project Tasks150
AccessRequest160
Promoted Links170
Agenda201
Comments302
Categories303
Report Library433
Public Workflows External List600
AssetLibrary851
Issue Tracking1100
SharePoint List Template ID

How to Find SharePoint List Template IDs

There are different ways to find SharePoint list template ids.

Method 1: Using PowerShell

One of the most reliable ways to get a complete list of template IDs is using PowerShell:

Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
$site = Get-SPSite "https://yoursharepointsite.com"
$web = $site.RootWeb
$web.ListTemplates | Select Name, ID | Sort-Object Name

This script will return all available list templates in your SharePoint environment along with their corresponding IDs.

Method 2: Using SharePoint REST API

If you prefer using the REST API, you can retrieve template IDs with this endpoint:

https://yoursharepointsite.com/_api/web/listtemplates

This will return an XML or JSON response (depending on your headers) containing all list templates and their IDs.

Method 3: Check the SharePoint Object Model Documentation

Microsoft’s documentation provides a comprehensive list of template IDs in the SPListTemplateType enumeration, which is helpful when developing SharePoint solutions.

Using Template IDs in SharePoint Development

Creating a List Programmatically with C#

Here’s a simple example of creating a generic list using C# and a template ID:

using (SPSite site = new SPSite("https://yoursharepointsite.com"))
{
    using (SPWeb web = site.OpenWeb())
    {
        web.Lists.Add("My New List", "Description here", SPListTemplateType.GenericList);
        // SPListTemplateType.GenericList corresponds to template ID 100
    }
}

Using Template IDs in PowerShell

If you’re automating SharePoint administration tasks, you can create lists with PowerShell:

Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
$web = Get-SPWeb "https://yoursharepointsite.com"
$template = $web.ListTemplates["Custom List"]
# Or directly use the ID: $templateID = 100
$web.Lists.Add("My PowerShell List", "Created with PowerShell", $template)

Using Template IDs in SharePoint PnP PowerShell

For modern SharePoint Online, PnP PowerShell makes it even easier:

Connect-PnPOnline -Url "https://yourtenant.sharepoint.com/sites/yoursite"
New-PnPList -Title "My PnP List" -Template GenericList
# Or by ID: New-PnPList -Title "My PnP List" -TemplateId 100

If you have any questions about SharePoint List Template IDs or need help with your SharePoint projects, feel free to contact us and check out SharePoint services!

You may also check out: