in

SharePoint Blogs

The Best Place for SharePoint-related Blogs

Todd Baginski's SharePoint 2003 and MOSS 2007 Blog

Which WSS 3.0 / MOSS 2007 site Template is right for me?

MOSS 2007 ships with many predefined Templates you may use to create Site Collections and sub sites. Sometimes the out of the box site Templates will meet the needs of your project. Other times, the out of the box site Templates may need to be enhanced.

Knowing which site Template has the functionality you need to deploy, or use as a baseline for a custom Site Definition, is one of the key decisions you make when architecting a SharePoint deployment. This being said, it is important to understand the functionality the Templates WSS and MOSS come with out of the box, and what they look like.

This post will outline what functionality the site Templates WSS and MOSS come with out of the box, what they look like, and document several useful peices of information developers will find handy when working with the out of the box SharePoint site Templates.

MOSS offers some guidance by providing descriptions and preview images for each out of the box template. However, not all of these descriptions list which resources the site comes provisioned with, and the preview images are no help at all. See the image below, I think you will agree.

  Click on thumbnail for full size image.

To better understand the inventory of out of the box site Templates, I created a Site Collection based on each out of the box site Template. After creating 23 different Site Collections, I realized it would be hard to remember what each one looked like. So, I decided to take some screenshots and document the site Templates.

Below you will find tables corresponding to the different categories the site Templates reside in. The tables list the site Template names and descriptions for each category. As I mentioned before, you will see these descriptions are a good starting point, but do not describe the various lists that are provisioned with each site.

Collaboration Category Descriptions

  Click on thumbnail for full size image.

Meetings Category Descriptions

  Click on thumbnail for full size image.

Enterprise Category Descriptions

  Click on thumbnail for full size image.

Publishing Category Descriptions

  Click on thumbnail for full size image.

Preview Images

If you care to see what all of the preview images look like, you can find them in the following directory on your SharePoint server:

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\1033\IMAGES

The file names for the preview images corresponding to each site Template are listed in the tables below.

A More Detailed Look

If you care to see what each of the home pages for the site Templates looks like, you can download them from this file. These images should give you a good understanding of the different Lists and layouts that come with each out of the box Template.  This should save you a lot of time creating each type of site Template on your own machine!

Information developers will want to keep handy when enhancing or creating new custom Site Templates and Site Definitions.

The next table lists the WEBTEMP XML fragment file each site Template and Configuration is stored in, the file name of the preview image, and the concatenated Template and Configuration string you need when making sites with this site Template programmatically. If you wish to change the out of the box preview images I recommend backup up the existing preview images, then replacing them with your new preview images that have the same file names. Feel free to use the images I created from screenshots of each site Template’s out of the box home page to do so. You can download them here.

* You may have to perform this process again after a service pack is applied in the future. It is not supported to edit the various WEBTEMP files that come out of the box, so that is why I recommend this approach.

  Click on thumbnail for full size image.

Buried Treasure: Crouching Tiger- Hidden Templates!

Many of the site Templates listed in the following table are left over from the last version of SharePoint and are marked obsolete. However some of them may be created programmatically. I included the list of all the hidden site Templates here for your reference.

  Click on thumbnail for full size image.

Leverage this information to create SharePoint sites programmatically

The concatenated Template and Configuration string is used when creating sites programmatically. See the below code sample for an example, pay attention to the text in orange, to see where the concatenate string is used.

//Create a new SPSite object corresponding to your top level site

SPSite newSite = new SPSite(“http://moss/site”);

//Create a new SPWeb object from the newSite object

SPWeb newWeb = newSite.OpenWeb();

//Return the collection of sub sites

SPWebCollection subSites = newWeb.Webs;

//Create a new sub site by adding it to the sub site collection

//The new site will have the following metadata:

//Full URL once created: http://moss/newsite

//Name: New Site

//Description: This is the description for my new site.

//Local ID set to 1033 – English

//Site Template: Team Site

//Use Unique Permissions: True

SPWeb newSubWeb = subSites.Add(“newsite”, “New Site”, “This is the description for my new site.”, 1033, “STS#0”, true, false);

Important planning information related to the out of the box site Templates!

This chart shows the available site Templates one may create sub sites with, for a given parent site Template. Make sure you pick site Templates that will allow you to create the types of sub sites your functionality requirements dictate.

  Click on thumbnail for full size image.

I hope this post comes in handy for you and saves you the time I spent digging through the SharePoint file system and creating dozens of SharePoint sites to find the information. All the information in this post comes from the RTM version of MOSS 2007 Enterprise.

Comments

 

Mike Walsh's WSS and more said:

July 1, 2007 1:36 AM
 

Ricky Spears said:

Todd - Excellent information! Thanks for compiling it for everyone--it will save a lot of people a lot of time.

I would like to mention one caveat. Although when you create a new Publishing Portal, all new sub sites are of type "Publishing Portal with Workflow", by default. This can be changed to allow most any template in the "Page layouts and Site Template Settings."

July 2, 2007 1:45 PM
 

uno said:

I'm looking for something similar to this post, but not really.

I'm trying to create different dashboards per department and tailoring each to their specific needs. I haven't found examples of different sites yet though, only webparts and so on.

July 4, 2007 3:52 AM
 

Blog del CIIN said:

Siguiendo con la serie de post sobre recursos de WSS 3.0 & MOSS que iniciamos con las entregas I

July 9, 2007 2:38 PM
 

Anonymous said:

I have a question about sharepoint Services 3.0. I installed one of the Microsoft Templates. So far it went fine, however I want it to be set so anonymous users can view the site. I did set anonymous access for site in the Administration Site. I also set anonymous access on the Top Level site. But when I created a sub site off the main site using Application Templates, I was able to set anonymous access it does not work. Is this normal? Or am I doing something wrong?

Windows 2003 server X64 with Sharepoint Services 3.0

July 29, 2007 10:01 AM
 

Thilakka said:

I am trying to create web parts for a meeting management system which also books meeting room along with attendees.

The problem with Room and Equipment booking template is that it does not book recurring meetings.

Please advice best solution.

July 30, 2007 12:00 AM
 

sharepoint video said:

a funny sharepoint 2007 video dedicated to all frustrated sharepoint users :-)

www.youtube.com/watch

August 2, 2007 10:39 AM
 

Rod howarth said:

Thanks for this article,

helped me work out how to programmatically generate my custom sites. Important to note that in the template section you need to add 'templatefilename.stp' instead of the 'STS#0' if its a custom template.

Thilakka, Microsoft outlook can do this - you create a resource and you can add it to meetings and it is recurseively rebooked isn't it? perhaps you could tap into that somehow.

Thanks,

Rod Howarth

http://roddotnet.blogspot.com

August 30, 2007 10:09 PM
 

Meemers said:

"Architect" is a noun, not a verb.  Therefore, "architecting" is not a word.

October 3, 2007 3:44 PM
 

Jack said:

Hey Meemers, While you may be gramatically correct, your feedback provides little value to the dialog.

October 5, 2007 10:05 AM
 

Kai said:

Todd,

how can i find out which template was used when a site was created?

November 20, 2007 11:30 AM
 

Yehiel said:

If I have Publishing web under Publishing site, anonymous works great for father (site) and still brings auth dialog for son (web). For other templates, like Team, it works without issues

Creating unique permissions for the child site and setting anonymous settings to true for the child site also doesn’t work.

January 1, 2008 10:53 AM
 

novolocus.com » Creating Site Templates said:

Pingback from  novolocus.com » Creating Site Templates

January 9, 2008 9:16 AM
 

Penny Coventry, MVP said:

January 25, 2008 12:23 PM
 

Janardhan said:

when i change banner of my home page in  Share point site its not displayed for administrator but it works fine for users.i Edit this Home page using Share point Designer what is the Reason  

April 29, 2008 1:38 AM
 

Mahesh said:

How can I create custom page layouts in wss 3.0?

June 5, 2008 1:59 PM
 

Alex said:

Same question as Manesh has - you described how to create custom templates in Moss 2007, but how to do it in WSS 3.0?

June 6, 2008 3:57 AM
 

wss template said:

Pingback from  wss template

July 5, 2008 6:41 AM
 

Alex blog about Microsoft said:

One of my collegaes, Bastiaan Turkenburg, pointed out to me an interesting aritcle written by Todd Baginski

July 28, 2008 4:08 PM
 

Phoenix Lee said:

Are very comprehesive and useful information for MOSS2007 newbies, like me.

Thanks!

August 19, 2008 3:15 AM

Leave a Comment

(required )  
(optional )
(required )  
Add

About tbaginski

Todd began working with WSS and SPS in the beta stages of the products, in 2003. He has architected and implemented intranets, extranets, wireless deployments, and several custom applications with the WSS and SPS platforms. Todd created the first SharePoint advanced development training curriculum in the training industry for Microsoft SharePoint Portal Server 2003 and taught his first class in December of 2003. Todd also created the first advanced development training curriculum for Microsoft Office SharePoint Server (MOSS) 2007 and taught parts of this curriculum while MOSS was still in the Beta 1 Technical Refresh stage! Two versions in a row, Todd has broken ground in the training industry by being the first to offer advanced development training for SharePoint! Todd speaks at many SharePoint conferences including SharePoint Connections, the MS SharePoint Conference, and the upcoming TechEd 2008 Developers Conference. He has also spoken at Microsoft events at the Microsoft offices in both Denver, Colorado and Minneapolis, Minnesota. He has also presented several sessions at the Rocky Mountain SharePoint User's Group. He enjoys spending time with his wife and their dogs, playing and coaching lacrosse, playing hockey, riding his bike in the Rocky Mountains, and skiing every chance he gets.

Need SharePoint Training? Attend a SharePoint Bootcamp!

Posts (c) their respective authors. Everything else (c) 2007 SharePoint Experts