How to find out the ID of a site collection, subsite and list
While working on one ticket, I did some research and fetched some things regarding ID’s.
Site collection, Subsite and List are important entities which are widely used on day to day basis.
There are times when you need to find out the Id/Guid of a site collection, subsite or list as per the project requirements, analysis of guids will be very useful to resolve many issues in SharePoint environments.
Here is my analysis regarding this as How to find out the ID/GUID of the above mentioned entities:
How to find out the ID of a site collection:
1. Open the Central Administration
2. Application Management
3. SharePoint Site Management
4. site collection quotas and locks
5. Select the appropriate site collection (Please refer the following screenshot) and you will get the ID of that specific site collection.
How to find out the ID of a subsite:
1. Save the current site as site template [.STP extension]
2. Save it to disk somewhere.
3. Now, navigate to that location and rename the file to .CAB extension.
4. Extract the CAB file and find the manifest.xml file.
5. Now, in the file check for the site ID/TemplateID string and get the value.
6. Navigate to end of this post for the TemplateID to Name mapping.
How to find out the List ID:
1. Navigate to the SharePoint list using the browser.
2. Select the Settings + List Settings menu command.
3. Copy the URL from the browser address bar into Notepad. It will look something like:
Delete everything before and including “List=”.
Change “%7B” to “{”
Change all “%2D” to “-“
Chnage “%7D” to “}”
You are now left with the Id:
{47F2F5E2-6474-4929-B986-64BBE801C97A}
List of MOSS 2007 Template ID Information
0 - GLOBAL (SetupPath=global) - "Global template"
1 - STS - "windows SharePoint Services Site", "Team Site", "Blank Site", "Document Workspace"
2 - MPS - "Basic Meeting Workspace", "Blank Meeting Workspace", "Decision Meeting Workspace", "Social Meeting Workspace", "Multipage Meeting Workspace"
3 - CENTRALADMIN - "Central Admin Site"
4 - WIKI - "Wiki Site"
7 - BDR - "Document Center"
9 - BLOG - "Blog"
20 - SPS (OBSOLETE) - "SharePoint Portal Server Site"
21 - SPSPERS - "SharePoint Portal Server Personal Space"
22 - SPSMSITE - "Personalization Site"
30 - SPSTOC (OBSOLETE) - "Contents area Template"
31 - SPSTOPIC (OBSOLETE) - "Topic area template"
32 - SPSNEWS (OBSOLETE) - "News area template"
33 - SPSNHOME (SubWebOnly) - "News Home template"
34 - SPSSITES - "Site Directory area template"
36 - SPSCOMMU (OBSOLETE) - "Community area template"
38 - SPSREPORTCENTER - "Report Center Site"
39 - CMSPUBLISHING (SetupPath=SiteTemplates\PUBLISHING) - "Publishing and Team Collaboration Site"
40 - OSRV (SetupPath=SiteTemplates\OSRV) - "Shared Services Administration Site"
47 - SPSPORTAL - "Corporate Intranet Site"
50 - SRCHCEN - "Search Center"
51 - PROFILES - "Profiles"
52 - BLANKINTERNETCONTAINER - "Internet Presence Web Site"
53 - BLANKINTERNET - "Publishing Site", "Press Releases Site", "Publishing Site"
54 - SPSMSITEHOST - "My Site Host"
90 - SRCHCENTERLITE (SetupPath=SiteTemplates\SRCHCENTERLITE) - "Search Center Lite"
6221 - PWA (SetupPath=SiteTemplates\PWA) - "Project Web Access Site"
6215 - PWS (SetupPath=SiteTemplates\PWS) - "Project Workspace"
14483 - OFFILE - "Records Repository", "Records Repository"
If you have any queries/questions regarding the above mentioned information then please let me know.
I would be more than happy to help you as well as resolves your issues J Thank you