Hi all,
This is a simple topic, but it's very important to know how to get the SiteTemplate Name.
Steps:
- Open "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\1033\XML" directory (assuming you installed MOSS to this path).
- In that directory, there are a number of xml files; Open the one called "webtempsps.xml"
- In that file you will see an entry for a with a name attribute; and the default
for that template has an ID attribute.
- You combine the two and you get the Site Template Name.
- You combine the two and you get the Site Template Name.
Here is an Example to get a Site Template Name:
<template id="21" name="SPSPERS" ...>
<configuration id="0" title="SharePoint Portal Server Personal Space" .../>
</template>
Template Name: SPSPERS#0
Hope it helps :)
Thanks!
ReplyDeleteHow can you get this programmatically? I've created a custom template and want to create a child site programmatically but need to reference the template id.
ReplyDelete