- Business logic
- governance
- application development
- BizTalk
- SharePoint
- database
- jQuery
- SOA
- programming
- Visual C#
- Visual Studio
- Exchange
- documents
- PHP
- services
- Microsoft Office
- customization
- Exchange server
- security
- collaboration
- .NET
- SharePoint 2010
- CA
- CodePlex
- developer
- search
- document management
- portal
- WSS
- Web development
- Web sites
- authentication
- XML
- Microsoft
- software
- policy
- MOSS
- Web Parts
- Office
- Silverlight
- tools
- sandbox
- SharePoint Service Account
- InfoPath
- ASP.NET
- Windows
- server
- architecture
- Libraries
- SharePoint administration
Creating, Modifying, Deleting and Customizing Templates : Page 2
Creating List Templates
A list template is a file that includes specific design information for a list, such as the columns and fields in the list, the views, and optionally, the list content. Windows SharePoint Services includes a number of list templates by default, but you can create a new template from an existing list. The process to create a list template is almost exactly the same as the process to create a site template; follow these steps:
- From Central Administration, select the list you want to save as a template.
- Click on Modify settings and columns.
- Click on the “Save list as template” option (see Figure 3).
- Type in the filename to use for the template file.
- Specify the title and description (optional) for the template.
- Optionally, select the "Include content" check box to include the existing list content
- Click OK to finish the process
Modifying or Deleting a List Template
To modify or delete a list template from the site template gallery, follow these steps:
- Click on Site Settings .
- Switch to Site Administration.
- Click on "Manage list template gallery."
- Click on the Edit button next to the list template you want to modify or delete.
To add a template to the central template gallery so that it is available to all sites in your SharePoint portal, you can use the following command (all on one line):
stsadm.exe -o addtemplate -filename NameoftheTemplateFile
-title TemplateTitle -description TemplateDescription
Create a Custom Site Template
Usually, you copy a template so you can customize it to control the look and feel of the pages in your web sites. To create a custom site template in SharePoint, follow these steps:
- Copy the SPS folder from the location
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\1033. - Save the folder somewhere else, renaming it to
SPSDevXCustomfor this example. - Open the
Default.aspxfile from the newSPSDevXCustomfolder, and modify it as shown below: - Now open the
onet.xmlfile from theSPSDevXCustom\XMLfolder, and change the<AllUsersWebPart>tag as shown below: - Next, open the
webtempsps.xmlfrom theSPSDevXCustom\XMLfolder, which looks like this: - Change the <Template> section as shown below:
- Lastly, reset Internet Information Services (IIS) by typing
iisresetat the command prompt.
<WebPartPages:WebPartZone runat="server"
AllowPersonalization="false"
ID="DevXZone"
Title="DevX Custom Zone"
Orientation="Vertical">
</WebPartPages:WebPartZone>
<AllUsersWebPart WebPartZoneID="DevXZone"
WebPartOrder="0">
<![CDATA[
<WebPart xmlns=
"http://schemas.microsoft.com/WebPart/v2">
<Assembly>DevX, Version=1.0.0.0,Culture=Neutral,
PublicKeyToken=1111111111111111</Assembly>
<TypeName>DevX.WebParts</TypeName>
<Title>DevX Web Part</Title>
<Description>This is a Custom Web Part</Description>
<PartOrder>0</PartOrder>
<FrameType>None</FrameType>
<AllowMinimize>true</AllowMinimize>
<AllowRemove>true</AllowRemove>
<IsVisible>true</IsVisible>
<AllowOverrideGlobalXML
xmlns="DevX">false</AllowOverrideGlobalXML>
</WebPart>]]>
</AllUsersWebPart>
<Templates>
<Template Name="SPSTOC" ID="30">
<Configuration ID="0"
Title="Contents area Template" Type="0"
Hidden="TRUE"
ImageUrl="../images/spshome.gif"
Description="Area Template.">
<!-- _locID@Title="webtemp_title_spstoc0"
_locComment="{StringCategory=HTX}" -->
<!--_locID@Description="webtemp_desc_spstoc0"
_locComment="{StringCategory=HTX}"-->
</Configuration>
</Template>
</Templates>
<Templates>
<Template Name="<code> SPSDevXCustom</code> " ID="9999">
<Configuration ID="0"
Title="DevX Custom Template" Type="0"
Hidden="TRUE" ImageUrl="../images/spshome.gif"
Description="This is a sample template
</Configuration>
</Template>
That completes the operation to create a custom site template. You should now be able to see the new custom template when you log in to SharePoint Portal Server as the site administrator.
For more information, see these links:


Discover how to start developing for the Android platform with this extensive guide, which provides a reference to the Android platform as well as a look at developing your first Android application. You'll explore the top 10 features for developers as well as learn design and development tips that go beyond the phone and target tablet development as well.