17 November, 2011

How to find out the ID of a subsite

A subsite is a single SharePoint site within a site collection. A subsite can inherit permissions and navigation structure from its parent site or these can be specified and managed independently. Creation of subsites can be delegated to users of a site collection, but creation of site collections must be performed by a service administrator. A sub-site can also have sub-sites of its own. Because every site below the top-level site is actually a sub-site, each sub-site is generally called simply a site.
There might be a situation arise in which you need to find out the ID of the subsite. I had spend some time on this to debug and got the solution. Please refer the following steps and use your subsite ID to fulfill your project requirements, Thank youJ
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.
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
Reference:
1. Determining Between SharePoint Site Collections and Sub-Sites
2. What is a SharePoint site or subsite?-
3. Videos-How to create subsites in SharePoint 2010 and SharePoint 207-

No comments:

Post a Comment

Your feedback is always appreciated. I will try to reply to your queries as soon as possible- Amol Ghuge

Note: Only a member of this blog may post a comment.