Todd Bleeker's 12 Hive

All MindsharpBlogs

Are you pondering what I'm pondering?

My Links

Post Categories

Archives

Blog Stats

Custom Templates

I recently co-authored an Information Office Worker book on how to use Windows SharePoint Services published by Microsoft Press called Microsoft® Windows® SharePoint® Services Step by Step (ISBN 0-7356-2075-X). However, some of the content that I wrote was deemed “too technical” for the audience and cut from the book. So as not to waste the content, I've pasted some verbage I wrote on Custom Templates below. The text hasn't been thru editorial, technical, or even peer review so it is pretty raw and there are references to the GardenCo site that you won't have (really any site with a Task list will do) but I thought it would be worth sharing anyway.

Custom Templates

Site templates are used in Microsoft Windows SharePoint Services as a blueprint to jump start a new site's usefulness by auto-generating the Web Part Pages, Web Parts, lists, and document libraries that will likely be most useful in a given situation. In this chapter, you will learn how to create a site using one of the site templates that are available from a default installation and the steps necessary to manage and administrate this site.

Saving and using a site template

After working with a site for a while you may want to save it just the way it is so that it can be recreated over and over again. Microsoft Windows SharePoint Services facilitates this activity by letting the Web Designers and Administrators save a site as a custom template. Custom templates are a way of packaging up a set of changes to an existing site definition and making that package available as a template for new sites and lists. These custom templates behave in much the same way that the eight built-in templates do in that they provision Web Part Pages, Web Parts, lists, and document libraries best suited for the purpose of the template. In fact, everything in a site, except security related information is saved in a custom site template, including its theme and navigation. You can even optionally retain the data in all the site's lists and document libraries.

The STP files on this book’s CD used to recreate the solutions for each chapter are actually custom site templates saved to a file.

 

There is currently a 10 MB limit on the total size of any custom template.

 

Every custom template is based on an underlying site definition and saved as a file in the site collection site gallery document library in the root of the site collection. Once saved, a custom site template is made immediately available throughout the entire site collection in which it was saved. When creating a new child site, any user that is associated with one of the default site groups (excluding the Guest site group) in the top-level site will see the saved custom site template as an option on the Template Selection page. To use a custom site template when creating a new top-level site from SharePoint Central Administration it must be placed into the central template gallery using a command line tool on the Web server rather than just in the site collection site gallery.

Let's say that the unique look that The Garden Company buyers created for their team meetings has caught on and they want to be able to use it over and over. In this exercise, you will save the Team Meeting site as a custom site template and then use it to create another meeting site as a child of the Buyers child site.

OPEN the Team Meeting site from the address bar of your browser: http://gardenco/buyer/TeamMeeting. If prompted, type your user name and password and click OK.

BE SURE TO verify that you have sufficient rights to save a site template and create a new site. If in doubt, see the Appendix on page XXX.

 

1.      Click Site Settings from the Modify This Workspace menu just below the search box on the Team Meeting child site.

2.      Click Go to Site Administration in the Administration section to display the Site Administration page.

3.      Click Save site as template in the Management and Statistics section to display the Save Site as Template page

4.      Type TeamMeeting in the File name textbox to establish a name for the STP file.

5.      Type Team Meeting Template in the Template title textbox to establish the name that will show in the list of templates to choose from on the Template Selection page.

6.      Type a description like: Cool blue site for team meetings that the buyers created in the Description textbox to help site creators understand the intended purpose of the custom site template.

7.      Click the OK button to save the custom site template into the site collection site template gallery and display the Operation Completed Successfully page.

If you want to see where the custom site template was placed you can click on the site template gallery link on the Operation Completed Successfully page.

 

8.      Click the OK button to acknowledge the page and redisplay the Team Meeting Site Administration page.

9.      Click Up to Buyers in the top right corner to display the Buyers child site.

10.  Click Site Settings on the top nav to display the Site Settings page.

11.  Click Manage sites and workspaces in the Administration section to display the Sites and Workspaces page.

12.  Click Create on the toolbar to display the New SharePoint Site page.

13.  Type Important Meeting in the Title textbox to establish a display name for the new site.

14.  Type a description like: Site for that important meeting in the Description textbox to help users understand the purpose for the new site.

15.  Type ImportantMeeting for a Web Site Address into the URL name textbox. Remember the naming conventions listed earlier in this chapter.

16.  Keep the default permissions; Use same permissions as parent site.

17.  Click the Create button to display the Template Selection page.

The Team Meeting Template is now available in the Template list. Also note that the description we gave to the custom site template is displayed below the image.

18.  Click Team Meeting Template on the Template list.

19.  Click the OK button to template and display the new meeting workspace.

The new site Important Meeting site will be identical to the original Team Meeting site.

CLOSE the browser.

 

Saving and using a list template

After you have placed a lot of effort into customizing a list so that it meets your specific needs, as is the case with our Common Buyer Tasks list, you may want to save that effort in a way that it can be used just like one of the built-in Microsoft Windows SharePoint Services list templates. Fortunately, this is very easy to do.

You can optionally include content in the list template if you want new lists created from to include the list items. Of course, including content can increase the size of the template.

There is currently a 10 MB limit on the total size of any custom template. Also, list item security is not maintained in a list template.

 

The Garden Company buyers would like the Common Buyer Tasks list to be made into a list template named Buyer Tasks Template that would automatically be included on the list Create page. The buyers would use the list template to create a new list whenever they launch a seedling buying campaign and the new list would look just like the current Common Buyer Tasks list. It would have the same columns, the same data, and the same list views.

In this exercise; you create a list template named Buyer Tasks Template based upon the current Common Buyer Tasks list. Subsequently, you will create a new list based upon the saved list template.

OPEN the top-level site for The Garden Company: http:// gardenco. Authenticate as at least a Web Designer.

 

1.      Click Common Buyer Tasks in the Quick Launch bar to display the Common Buyer Tasks default list view page.

2.      Click Modify settings and columns in the Actions section of the left nav to display the Customize Common Buyer Tasks page.

3.      Click Save list as template in the General Settings section to display the Save as Template: Common Buyer Tasks page.

4.      Type BuyerTasksTemplate in the File name textbox.

This is the name of the STP file that will be saved into the List Template Gallery for the entire site collection.

5.      Type Buyer Tasks Template in the Template title textbox.

This is the name that will be displayed on the list Create page.

6.      Type something like: Create a buyer tasks list when you launch any seedling buying campaign. in the Template description textbox.

This is the description that will show below the name on the list Create page.

7.      Click the Include content checkbox to be sure that the list items in the list are captured with the list template.

8.      Click OK to save the Buyer Tasks Template into the site collection’s List Template Gallery.

9.      Click Create in the top nav to jump straight to the Create page.

10.  Click Lists in the left nav of the Create page.

11.  Click Buyer Tasks Template to create a new list based upon the list template that we saved and display the New List page.

12.  Type 2004Q4BuyerTasks in the Name textbox.

13.  Type something like: Fall buying campaign. in the Description textbox.

14.  Leave Yes selected for Quick Launch display.

15.  Click Create to provision the new list and display the 2004Q4BuyerTasks default list view page.

16.  Optionally, rename the list by clicking Modify settings and columns in the Actions section of the left nav to display the Customize 2004Q4BuyerTasks page.

17.  Click Change general settings at the top of the General Setting section to display the List Settings: 2004Q4BuyerTasks page.

18.  Replace 2004Q4BuyerTasks by typing 2004 Q4 Buyer Tasks in the Name textbox.

19.  Click OK to save the name change and display the Customize 2004 Q4 Buyer Tasks page.

20.  Click Go Back to "2004 Q4 Buyer Tasks" at the top of the page to redisplay the 2004 Q4 Buyer Tasks default list view page.

Changes made to the original Common Buyer Tasks list do not affect this new 2004 Q4 Buyer Tasks list and vice versa. Changes also do not affect the Buyer Tasks Template list template. It is possible to resave the list over the existing list template effectively updating it.

 

CLOSE the browser.

 

posted on Friday, January 28, 2005 11:42 AM

Feedback

# re: Custom Templates 1/28/2005 1:21 PM Colin Walker

Seems written in a straight forward enough kinda way to me, but then I don't know what level the book what pitched at.

Thanks for the info.

# re: Custom Templates 6/6/2006 1:45 PM Bernardo

Great!!! I have a question though.
Is there any way, to define permissions to a list in my site template? Any way that in the creation time my site will have pre-defined permissions to it's lists?

Thanks.

# re: Custom Templates 6/7/2006 10:55 AM Todd Bleeker

Bernardo,

Permissions cannot be persisted, even in the release coming out later this year.

<Todd />

# Wss 3.0: Site template VS Custom Site Definition 1/12/2007 12:58 PM Romeo Pruno

Molti fanno ancora confusione, sulla differenza che c'è tra un Site Template ed un Custom Site Definition...

# re: Custom Templates 6/25/2007 4:15 PM Tom

I customized a sharepoint site with some grouping, filtering and sorting of list webparts and saved the site as a template(with content). But these changes are not getting affected in the new site...
What could be the reason?

Thanks in advance

# re: Custom Templates 5/31/2008 9:42 AM Youtube

thanks.great

# re: Custom Templates 6/2/2008 6:13 AM Araba Oyunları

Leave Yes selected for Quick Launch display.
http://www.arabaresim.net
http://www.futboloyunlari.org
http://www.kiz-oyunlari.com

# re: Custom Templates 6/5/2008 5:55 AM Youtube

nice template

# re: Custom Templates 6/19/2008 1:53 AM Youtube

very nice

# re: Forum 7/22/2008 2:51 PM Forum

Thanks you

# re: Chat 7/22/2008 2:52 PM Chat

Thank you my friend..

# re: çet chat 7/22/2008 5:48 PM çet

karantina
thanks.

# re: mirc mirc indir 7/22/2008 5:49 PM mircalem

karantina
thanks.

# re: youtube izlesene 7/22/2008 5:49 PM youtube

karantina
thanks.

# re: Custom Templates 8/7/2008 3:26 AM güvenlik kıyafeti

very good

# re: Custom Templates 8/7/2008 3:27 AM Çizgi Film

very good

# re: Custom Templates 8/7/2008 3:28 AM Reklam Ajans

very good

# re: Custom Templates 8/7/2008 3:29 AM web tasarım

very good

# re: Custom Templates 8/7/2008 3:30 AM film izle

very good

# re: Custom Templates 8/7/2008 3:31 AM Gelinlikler,Gelinlik Resimleri,Gelinlik Modelleri

very good

# re: Custom Templates 8/7/2008 3:32 AM masaüstü resimleri

very good

# re: Custom Templates 8/7/2008 3:32 AM Mercedes Yedek Parçaları

very good

# re: Custom Templates 8/7/2008 3:35 AM autocad kursu

very good

# re: Custom Templates 8/7/2008 3:38 AM Müzik Dinle

very good

# re: Custom Templates 8/7/2008 3:43 AM Havuz

very good

# re: Custom Templates 8/7/2008 3:43 AM Reseller

very good

# re: Custom Templates 8/7/2008 3:43 AM yemek tarifleri

very good

# re: Custom Templates 8/7/2008 3:44 AM havuz

very good

# re: Custom Templates 8/8/2008 4:15 AM film izle

very good

# re: Custom Templates 8/8/2008 4:16 AM otobüs firmaları

very good

# re: Custom Templates 8/8/2008 4:17 AM rüya tabiri

very good

# re: Custom Templates 8/8/2008 4:19 AM müzik dinle

very good

# re: Custom Templates 8/8/2008 4:19 AM ilahi dinle

very good

# re: Custom Templates 8/8/2008 4:20 AM gaziosmanpaşa

very good

# chat 9/12/2008 9:43 AM chat

thank you .

# sohbet siteleri 9/12/2008 9:45 AM sohbet siteleri

thanks you too

# canlı sohbet 9/12/2008 9:46 AM canlı sohbet

thank you too

# re: Custom Templates 9/16/2008 4:16 AM erotik shop

erotikdakikalar.com

# re: Custom Templates 9/16/2008 4:16 AM sex shop

aseks.com

# re: Custom Templates 9/18/2008 8:05 AM mirc

thanks.

# re: Custom Templates 9/18/2008 2:56 PM oyunlar

thanks

# re: Custom Templates 9/19/2008 12:57 AM kahve

thanks

# Cafe Paylaşım 9/28/2008 10:30 AM paylaşım

thanks

# re: Custom Templates 10/5/2008 9:19 AM araba oyunları

Really great web site...Thanks...

# re: Custom Templates 10/5/2008 9:20 AM savaş oyunu

Really great web site...Thanks...

# re: Custom Templates 10/5/2008 9:20 AM kız oyunları

Really great web site...Thanks...

# re: Custom Templates 10/5/2008 9:21 AM dress up games

Really great web site...Thanks...

# re: Custom Templates 10/5/2008 9:21 AM araba oyunları

Really great web site...Thanks...

# re: Custom Templates 10/5/2008 9:21 AM yarış oyunları

Really great web site...Thanks...

# re: Custom Templates 10/12/2008 5:19 PM çet

çet

# re: Custom Templates 10/12/2008 5:19 PM chat

chat

# re: Custom Templates 10/12/2008 5:20 PM sohpet

sohpet

# re: Custom Templates 10/12/2008 5:20 PM chat siteleri

chat siteleri

# re: Custom Templates 10/12/2008 5:21 PM chat odaları

chat odalari

# re: Custom Templates 10/12/2008 5:21 PM sohbet siteleri

sohbet siteleri

# re: Custom Templates 10/12/2008 5:22 PM sohbet sitesi

sohbet sitesi

# re: Custom Templates 10/12/2008 5:22 PM reseller

reseller

# re: Custom Templates 10/12/2008 5:23 PM vps

vps

# erotik shop 10/13/2008 12:51 PM erotik shop

thanks very..

# sex shop 10/13/2008 12:52 PM sex shop

thanks!.

# seks shop 10/13/2008 12:53 PM seks shop

werty good thanks.

# sex shop 10/13/2008 12:54 PM sex shop

very good thanks..

# cool 10/15/2008 9:32 AM Cotton

thank You.

# re: Custom Templates 10/18/2008 7:22 AM mirc

thank

# re: Custom Templates 10/18/2008 7:23 AM mırc

very good

# re: Custom Templates 10/19/2008 10:22 AM chat

tnks

# re: Custom Templates 10/19/2008 10:23 AM sohbet

tnkes

# re: Custom Templates 10/19/2008 12:06 PM sohbet

thanks.. napiyonuz olm malmisiniz:D

# re: Custom Templates 10/20/2008 1:19 AM mirc indir

Thanks

# re: Custom Templates 10/20/2008 9:35 AM mirc ekle

Thanks

# re: Custom Templates 10/20/2008 3:36 PM mircada

Thanks

# re: Custom Templates 10/21/2008 4:46 AM mirc

Thanks

# re: Custom Templates 10/21/2008 6:52 PM chat

Thanks

# re: Custom Templates 10/21/2008 6:53 PM chat

Thanks

# re: Custom Templates 10/22/2008 2:45 AM catlak

Thanks

# yarış oyunları 10/23/2008 10:37 AM yarış oyunları

yaris oyunlari

# re: Custom Templates 10/28/2008 7:48 AM porno izle

thanx man

# re: Custom Templates 10/28/2008 9:56 AM forum

thanks

# araba yarışı 10/28/2008 11:47 AM araba yarışı

http://www.aksiyonoyunlari.org

# re: Custom Templates 10/28/2008 10:10 PM seks

eh iste thanks!.

# re: Custom Templates 10/29/2008 2:05 AM müzik dinle

I liked to read it. it was verry wel written.

# re: Custom Templates 10/29/2008 2:06 AM radyo dinle

I liked to read it. it was verry wel written.

# re: Custom Templates 10/29/2008 2:06 AM sohbet

I liked to read it. it was verry wel written.

# re: Custom Templates 10/29/2008 11:01 AM CHAT

good

# re: Custom Templates 10/31/2008 2:09 AM ilaclama

ilaclama hizmetleri

http://www.berfinilaclama.com
http://www.bocekilaclama.gen.tr
http://www.etkinilaclama.net

# re: Custom Templates 11/1/2008 7:03 AM yemek oyunlari

thanks

# re: Custom Templates 11/2/2008 3:05 AM İLAÇLAMA hİZMETLERİ

thanks

# re: Custom Templates 11/4/2008 9:10 AM dış cephe

thanks.

# re: Custom Templates 11/5/2008 1:15 PM çet

thanks.

# sex ürünleri 11/17/2008 8:06 AM sex ürünleri

thanks.

# erotik shop 11/17/2008 8:07 AM erotik shop

thanks

# erotikshop 11/17/2008 8:08 AM erotikshop

thanks

# erotic shop 11/17/2008 8:09 AM erotic shop

thanks

# sex ürünü 11/17/2008 8:10 AM sex ürünü

thanks

# sex shop 11/17/2008 8:11 AM sex shop

thanks

# erotik ürünler 11/17/2008 8:12 AM erotik ürünler

thanks

# sex shop evi 11/17/2008 8:13 AM sex shop

thanks

# sex şhop 11/17/2008 8:14 AM sex şhop

thanks

# bayan azdırıcı 11/17/2008 8:16 AM bayan azdırıcı

thanks

# penis büyütücü 11/17/2008 8:17 AM penis büyütücü

thanks

# penis büyütücüler 11/17/2008 8:18 AM penis büyütücüler

thanks

# penis büyütme 11/17/2008 9:32 AM penis büyütme

thanks

# penis geliştirici 11/17/2008 9:34 AM penis geliştirici

thanks

# Zayiflama Hapı 11/17/2008 9:36 AM Zayiflama Hapı

thanks

# Zayiflama 11/17/2008 9:37 AM Zayiflama

thanks

# zayıflama hapı 11/17/2008 9:38 AM zayıflama hapı

thanks

# Erotik Elbiseler 11/17/2008 9:39 AM Erotik Elbiseler

thanks

# Fantazi İç Giyim 11/17/2008 9:40 AM Fantazi İç Giyim

thanks

# şişme bebek 11/17/2008 9:41 AM şişme bebek

thanks

# erotik giyim 11/17/2008 9:44 AM erotik giyim

thanks

# erotik giysi 11/17/2008 9:44 AM erotik giysi

thanks

# erotik kostüm 11/17/2008 9:45 AM erotik kostüm

thanks

# eroticshop 11/17/2008 9:46 AM eroticshop

thanks

# fantazi giyim 11/17/2008 9:47 AM fantazi giyim

thanks

# fetis giyim 11/17/2008 9:49 AM fetis giyim

thanks

# bayan azdiricilar 11/17/2008 9:51 AM bayan azdiricilar

thanks

# vibratör 11/17/2008 9:54 AM vibratör

thanks

# seksshop 11/17/2008 9:56 AM seksshop

thanks

# seks shop 11/17/2008 9:58 AM seks shop

thanks

# geciktirici 11/17/2008 10:00 AM geciktirici

thanks

# adult forum 11/17/2008 10:01 AM adult forum

thanks

# porno videolar 11/17/2008 10:02 AM porno videolar

thanks

# porno video 11/17/2008 10:03 AM porno video

thanks

# Arama Motoru 11/17/2008 10:05 AM Arama Motoru

thanks

# Göğüs Büyütücü 11/17/2008 10:09 AM Göğüs Büyütücü

thanks

# Göğüs Büyütücüler 11/17/2008 10:10 AM Göğüs Büyütücüler

thanks

# Göğüs Büyütücü Ürünler 11/17/2008 10:11 AM Göğüs Büyütücü Ü

thanks

# re: Custom Templates 11/17/2008 12:44 PM Chat

Import the new STP into the destination Web's list template gallery. You will need to delete it if it has previously been imported.

# re: Custom Templates 11/17/2008 12:44 PM Sohbet

Import the new STP into the destination Web's list template gallery. You will need to delete it if it has previously been imported.

# re: Custom Templates 11/17/2008 12:44 PM Chat Sohbet

Import the new STP into the destination Web's list template gallery. You will need to delete it if it has previously been imported.

# re: Custom Templates 11/19/2008 11:08 PM mirc

http://www.mirclen.org
http://www.klavyetc.org
http://www.sohbetigor.com

Title  
Name  
Url
CAPTCHA
Protected by Clearscreen.SharpHIPEnter the code you see:
Comments