Forum Discussion
Near Complete List of SharePoint List Types and Templates (a.k.a. List Definitions)
While working on a publishing site collection on SharePoint 2016 I needed to perform operations on all publishing pages within the collection. Publishing page lists (libraries) are different from basic libraries given all the publishing features they are tied to.
To identify which libraries were publishing page libraries my code needed to check to see what Base Template the list used. I found that many references to the template IDs neglected to include IDs for publishing page libraries and other lists like the user information list.
Below is a compilation of what I was able to find. I suspect SharePoint Online has added a few more, please add any you know of to the comments.
SP.BaseType
ID | Base Type | Description |
-1 | none | No base type specified. |
0 | Custom List | Does not match a known type. |
1 | Document Library |
|
2 | reserved | Must not be used. |
3 | deprecated | Use 0 for discussion boards. |
4 | Survey |
|
5 | Issue List |
|
SP.ListTemplateType
ID | Name | Description |
-1 | InvalidType | Not used |
0 | NoListTemplate | unspecified list type |
100 | GenericList | Custom list |
101 | DocumentLibrary | Document library |
102 | Survey | Survey |
103 | Links | Links |
104 | Announcements | Announcements |
105 | Contacts | Contacts |
106 | Events | Calendar |
107 | Tasks | Tasks |
108 | DiscussionBoard | Discussion board |
109 | PictureLibrary | Picture library |
110 | DataSources | Data sources for a site |
111 | WebTemplateCatalog | Site template gallery |
112 | UserInformation | User Information |
113 | WebPartCatalog | Web Part gallery |
114 | ListTemplateCatalog | List Template gallery |
115 | XMLForm | XML Form library |
116 | MasterPageCatalog | Master Page gallery |
117 | NoCodeWorkflows | No Code Workflows |
118 | WorkflowProcess | Custom Workflow Process |
119 | WebPageLibrary | Wiki Page Library |
120 | CustomGrid | Custom grid for a list |
121 | SolutionCatalog | Solutions |
122 | NoCodePublic | No Code Public Workflow |
123 | ThemeCatalog | Themes |
124 | DesignCatalog | Design Catalog |
130 | DataConnectionLibrary | Data connection library for sharing information about external data connections |
140 | WorkflowHistory | Workflow History |
150 | GanttTasks | Project Tasks |
170 | PromotedLinks | Promoted links display a structure of link actions. |
171 | Tasks | Tasks |
200 | Meetings | Meeting Series (Meeting) |
201 | Agenda | Agenda (Meeting) |
202 | MeetingUser | Attendees (Meeting) |
204 | Decision | Decisions (Meeting) |
207 | MeetingObjective | Objectives (Meeting) |
210 | TextBox | Text Box (Meeting) |
211 | ThingsToBring | Things To Bring (Meeting) |
212 | HomePageLibrary | Workspace Pages (Meeting) |
300 | Portal Sites List | |
301 | Posts | Posts (Blog) |
302 | Comments | Comments (Blog) |
303 | Categories | Categories (Blog) |
402 | Facility | Facility |
403 | Whereabouts | Whereabouts |
404 | CallTrack | Call Track |
405 | Circulation | Circulation |
420 | Timecard | Timecard |
421 | Holidays | Holidays |
433 | ReportLibrary | Report Library |
499 | IMEDic | IME (Input Method Editor) Dictionary |
600 | ExternalList | External |
700 | MySiteDocumentLibrary | |
850 | PageLibrary | Page Library |
851 | AssetLibrary | Asset Library |
1100 | IssueTracking | Issue tracking |
1200 | AdminTasks | Administrator Tasks |
1220 | HealthRules | Health Rules |
1221 | HealthReports | Health Reports |
1230 | DeveloperSiteDraftApps | |
2002 | Personal document library | |
2003 | Private document library |
Have a great day!
- maheshwari835Copper Contributor
Darian Glover Thanks for providing the detail information template Id and NAme for all lists and libraries.
I am facing an issue for template id : 443 for reportLibrary . Using Graph API i am trying to create a report Library below is the request sent
{
"displayName": "GraphAPI_Report",
"description": "Description for GraphAPI",
"list": {
"contentTypesEnabled": true,
"hidden": false,
"template": "reportLibrary"
}
}and the response what received is invalid request
{"error": {"code": "invalidRequest","message": "One of the provided arguments is not acceptable.","innerError": {"request-id": "d5a1f652-a96c-49e4-ab1b-84568bc6871b","date": "2020-03-19T07:40:54"}}}But for other templates, I am not observing this issue. Please help me out where I went wrong.