<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/" xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
    <channel>
        <title>Todd Baginski's Blog</title>
        <link>http://www.toddbaginski.com/blog/Default.aspx</link>
        <description>A SharePoint related blog.</description>
        <language>en-US</language>
        <copyright>Todd Baginski</copyright>
        <generator>Subtext Version 2.1.0.5</generator>
        <image>
            <title>Todd Baginski's Blog</title>
            <url>http://www.toddbaginski.com/blog/images/RSS2Image.gif</url>
            <link>http://www.toddbaginski.com/blog/Default.aspx</link>
            <width>77</width>
            <height>60</height>
        </image>
        <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/ToddBaginski" /><feedburner:info uri="toddbaginski" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><creativeCommons:license>http://creativecommons.org/licenses/by-nc-sa/3.0/</creativeCommons:license><item>
            <title>HOW TO: Programmatically create a SharePoint 2010 External Content Type</title>
            <category> BDC
  </category>
            <category> Custom Development
  </category>
            <category> Helpful Code
  </category>
            <category> HOW TO: SharePoint
  </category>
            <category>BCS</category>
            <category>External Content Types</category>
            <category>SharePoint 2010</category>
            <category> SharePoint  </category>
            <link>http://feedproxy.google.com/~r/ToddBaginski/~3/mZvMtDyHw9A/how-to-programmatically-create-a-sharepoint-2010-external-content-type.aspx</link>
            <description>&lt;a class="retweet self"&gt;&lt;/a&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;I demonstrated how to make an external content type programmatically during the &lt;strong&gt;SPC 405 - Business Connectivity Services Runtime and Object Model Deep Dive&lt;/strong&gt; session at the &lt;a target="_blank" href="http://www.mssharepointconference.com/Pages/default.aspx"&gt;2009 Microsoft SharePoint Conference&lt;/a&gt;.  Since the conference I have received a couple of dozen emails about the this topic.  Most of the emails ask for the code samples and an explanation of the code, and at least half of the emails inquire about &lt;em&gt;when and why&lt;/em&gt; you may need to create an external content type programmatically.  Because this is obviously a hot topic I decided to write it up in a blog post.&lt;/p&gt;
&lt;h1&gt;Sample Business Context&lt;/h1&gt;
&lt;p&gt;To begin, let’s take a moment to understand what types of business situations lend well to programmatically creating external content types.  The diagram below illustrates a common business scenario where creating external content types programmatically makes a lot of sense.  &lt;/p&gt;
&lt;p&gt;For example, an engineer in the engineering department creates a specification for a new product.  The purchasing department then contacts multiple suppliers to determine which suppliers the company will work with to secure the parts and components used to create the new product.  The new product and the suppliers are entered into the company’s ERP system.  Customer service representatives who support the product need quick access to the supplier data in the ERP system.  The customer service representatives have not been trained to use the ERP system, however they are familiar with web based applications.  To provide the customer service representatives with real time access to the product and supplier information in the ERP system an external content type may be automatically created when a new product and its associated supplier information is entered into the ERP system.  The external content type will correspond to the new product and supplier information and provide the ability for the customer service representatives to access the data within a SharePoint web site.&lt;/p&gt;
&lt;p&gt; &lt;a rel="lightbox" href="http://www.toddbaginski.com/blog/images/www_toddbaginski_com/blog/WindowsLiveWriter/HOWTOProgrammaticallycreateanExternalCon_CF4C/image_2.png"&gt;&lt;img style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title="image" border="0" alt="image" width="562" height="852" src="http://www.toddbaginski.com/blog/images/www_toddbaginski_com/blog/WindowsLiveWriter/HOWTOProgrammaticallycreateanExternalCon_CF4C/image_thumb.png" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;h1&gt;The Solution&lt;/h1&gt;
&lt;p&gt;To build on the example above the first thing that needs to be done is to hook the creation of a new product and associated suppliers in the ERP system to the creation of an external content type.  There are several ways to do this and the appropriate method will depend on the system where the data is stored.  Workflows, batch jobs, triggers, and event callouts may all be viable options.  No matter which option is the best solution, eventually you will use the the Business Data Connectivity  (BDC)administration API to automate the creation of an external content type in SharePoint 2010.&lt;/p&gt;
&lt;p&gt;The BDC administration API allows you to make changes to the metadata in the BDC metadata store.  This API is primarily found in the &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.businessdata.administration(office.14).aspx"&gt;Microsoft.SharePoint.BusinessData.Administration&lt;/a&gt;and the &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.businessdata.administration.client(office.14).aspx"&gt;Microsoft.SharePoint.BusinessData.Administration.Client&lt;/a&gt; namespaces.  The &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.businessdata.administration(office.14).aspx"&gt;Microsoft.SharePoint.BusinessData.Administration&lt;/a&gt;namespace is used when running on the SharePoint server and the &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.businessdata.administration.client(office.14).aspx"&gt;Microsoft.SharePoint.BusinessData.Administration.Client&lt;/a&gt;namespace is used when running on a client machine (machine other than a server in a SharePoint server farm).  The &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/microsoft.businessdata.metadatamodel(office.14).aspx"&gt;Microsoft.BusinessData.MetadataModel&lt;/a&gt; and &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/microsoft.businessdata.runtime(office.14).aspx"&gt;Microsoft.BusinessData.Runtime&lt;/a&gt;namespaces are also used to support creating external content types.&lt;/p&gt;
&lt;p&gt;As I mentioned earlier, the exact implementation you choose will depend on your environment.  Instead of providing a click by click tutorial to create a console application, Web/WCF service, Web Part, or the other usual suspects, I’ll just focus on the code you need to get the job done and leave the implementation details up to you.  This example creates an external content type for the Customers table in the AdventureWorks sample database.  This is the same example I demoed at the 2009 Microsoft SharePoint Conference, however I updated it to run on Beta 2.  You can download the complete source code, updated for SharePoint 2010 Beta 2, &lt;a target="_blank" href="http://www.toddbaginski.com/blog/files/Article%20Files/ECTGenerator.zip"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Assembly references&lt;/h2&gt;
&lt;p&gt;To begin, create the appropriate Visual Studio project for your implementation and add references to the following assemblies.&lt;/p&gt;
&lt;table border="1" cellspacing="0" cellpadding="2" width="600"&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td valign="top"&gt;&lt;strong&gt;Assembly&lt;/strong&gt;&lt;/td&gt;
            &lt;td valign="top"&gt;&lt;strong&gt;Location&lt;/strong&gt;&lt;/td&gt;
            &lt;td valign="top"&gt;&lt;strong&gt;Usage&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td valign="top"&gt;Microsoft.BusinessData.dll&lt;/td&gt;
            &lt;td valign="top"&gt;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI &lt;/td&gt;
            &lt;td valign="top"&gt;Needed on both client and server&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td valign="top"&gt;Microsoft.SharePoint.dll&lt;/td&gt;
            &lt;td valign="top"&gt;C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\ISAPI &lt;/td&gt;
            &lt;td valign="top"&gt;Solution runs on a SharePoint server&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td valign="top"&gt;Microsoft.SharePoint.BusinessData.Administration.Client.dll&lt;/td&gt;
            &lt;td valign="top"&gt;C:\Program Files\Microsoft Office\Office14 &lt;/td&gt;
            &lt;td valign="top"&gt;Solution runs on a machine other than a SharePoint server (client)&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;This example assumes you &lt;em&gt;are not&lt;/em&gt; running on the SharePoint server and uses the Microsoft.SharePoint.BusinessData.Administration.Client.dll assembly.  Therefore, the Microsoft.SharePoint.BusinessData.Administration.dll assembly is not added as a reference.&lt;/p&gt;
&lt;p&gt;&lt;a rel="lightbox" href="http://www.toddbaginski.com/blog/images/www_toddbaginski_com/blog/WindowsLiveWriter/HOWTOProgrammaticallycreateanExternalCon_CF4C/References_2.png"&gt;&lt;img style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title="References" border="0" alt="References" width="323" height="51" src="http://www.toddbaginski.com/blog/images/www_toddbaginski_com/blog/WindowsLiveWriter/HOWTOProgrammaticallycreateanExternalCon_CF4C/References_thumb.png" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;h2&gt;The Code&lt;/h2&gt;
&lt;p&gt;The BDC administration API is easy to use.  The classes, properties, and methods you use to create an external content type map directly to the metadata structures which define a BDC Model.  If you are already familiar with BDC Models (Application Definitions in MOSS 2007 speak) this code will look familiar to you as well.&lt;/p&gt;
&lt;h3&gt;Using Statements&lt;/h3&gt;
&lt;p&gt;To begin, add the following using statements to your project.&lt;/p&gt;
&lt;div id="codeSnippetWrapper"&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px" id="codeSnippet"&gt;&lt;span style="COLOR: #0000ff"&gt;using&lt;/span&gt; Microsoft.SharePoint.BusinessData.Administration.Client;&lt;br /&gt;&lt;span style="COLOR: #0000ff"&gt;using&lt;/span&gt; Microsoft.BusinessData.MetadataModel;&lt;br /&gt;&lt;span style="COLOR: #0000ff"&gt;using&lt;/span&gt; Microsoft.BusinessData.Runtime;&lt;/pre&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;h3&gt;Connect to the BDC Metadata Store&lt;/h3&gt;
&lt;p&gt;Next, connect to the BDC Metadata Store where the definitions for external content types are stored.  In this case I am connecting to the BDC Metadata Store associated with the site located at the following URL: &lt;strong&gt;http://dev1/sites/Team Site&lt;/strong&gt;&lt;/p&gt;
&lt;div id="codeSnippetWrapper"&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px" id="codeSnippet"&gt;AdministrationMetadataCatalog catalog = AdministrationMetadataCatalog.GetCatalog(&lt;span style="COLOR: #006080"&gt;"http://dev1/sites/Team Site"&lt;/span&gt;);&lt;/pre&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;h3&gt;Create the Model, LobSystem, and LOBSystemInstance&lt;/h3&gt;
&lt;p&gt;Next, create the &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.businessdata.administration.client.model(office.14).aspx"&gt;Model&lt;/a&gt;, &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.businessdata.administration.client.lobsystem(office.14).aspx"&gt;LobSystem&lt;/a&gt;, and &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.businessdata.administration.client.lobsysteminstance(office.14).aspx"&gt;LobSystemInstance&lt;/a&gt;.  Pay special attention to the names you provide for these items because they appear in the External Content Type picker and your users will see them.  See the screenshot near the end of this article for more details.&lt;/p&gt;
&lt;div id="codeSnippetWrapper"&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px" id="codeSnippet"&gt;&lt;span style="COLOR: #008000"&gt;//Create a new customer model&lt;/span&gt;&lt;br /&gt;Model customerModel = Model.Create(&lt;span style="COLOR: #006080"&gt;"CustomerModel"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, catalog);&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: #008000"&gt;//Make a new Customer LobSystem&lt;/span&gt;&lt;br /&gt;LobSystem awLobSystem = customerModel.OwnedReferencedLobSystems.Create(&lt;span style="COLOR: #006080"&gt;"Customer"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, SystemType.Database);&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: #008000"&gt;//Make a new AdventureWorks LobSystemInstance&lt;/span&gt;&lt;br /&gt;LobSystemInstance awLobSystemInstance = awLobSystem.LobSystemInstances.Create(&lt;span style="COLOR: #006080"&gt;"AdventureWorks"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;);&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: #008000"&gt;//Set the connection properties&lt;/span&gt;&lt;br /&gt;awLobSystemInstance.Properties.Add(&lt;span style="COLOR: #006080"&gt;"AuthenticationMode"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"PassThrough"&lt;/span&gt;);&lt;br /&gt;awLobSystemInstance.Properties.Add(&lt;span style="COLOR: #006080"&gt;"DatabaseAccessProvider"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"SqlServer"&lt;/span&gt;);&lt;br /&gt;awLobSystemInstance.Properties.Add(&lt;span style="COLOR: #006080"&gt;"RdbConnection Data Source"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"DEV1"&lt;/span&gt;);&lt;br /&gt;awLobSystemInstance.Properties.Add(&lt;span style="COLOR: #006080"&gt;"RdbConnection Initial Catalog"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"Customers"&lt;/span&gt;);&lt;br /&gt;awLobSystemInstance.Properties.Add(&lt;span style="COLOR: #006080"&gt;"RdbConnection Integrated Security"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"SSPI"&lt;/span&gt;);&lt;br /&gt;awLobSystemInstance.Properties.Add(&lt;span style="COLOR: #006080"&gt;"RdbConnection Pooling"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"true"&lt;/span&gt;);&lt;/pre&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;h3&gt;Create the Entity&lt;/h3&gt;
&lt;p&gt;Next, create the &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.businessdata.administration.client.entity(office.14).aspx"&gt;Entity&lt;/a&gt;to represent the Customers table and define which column(s) make up the identifier for the &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.businessdata.administration.client.entity(office.14).aspx"&gt;Entity&lt;/a&gt;.&lt;/p&gt;
&lt;div id="codeSnippetWrapper"&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px" id="codeSnippet"&gt;&lt;span style="COLOR: #008000"&gt;//Create a new Customer Entity &lt;/span&gt;&lt;br /&gt;Entity customerEntity = Entity.Create(&lt;span style="COLOR: #006080"&gt;"Customer"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"AdventureWorks"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;new&lt;/span&gt; Version(&lt;span style="COLOR: #006080"&gt;"1.0.0.0"&lt;/span&gt;), 10000, CacheUsage.Default, awLobSystem, customerModel, catalog); &lt;br /&gt;&lt;span style="COLOR: #008000"&gt;//Set the identifier - CustomerID column&lt;/span&gt;&lt;br /&gt;customerEntity.Identifiers.Create(&lt;span style="COLOR: #006080"&gt;"CustomerId"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"System.Int32"&lt;/span&gt;);&lt;/pre&gt;
&lt;/div&gt;
&lt;div id="codeSnippetWrapper"&gt;&lt;br /&gt;
&lt;/div&gt;
&lt;h3&gt;Define the Specific Finder Method, Parameters and Type Descriptors&lt;/h3&gt;
&lt;p&gt;Next, create the specific finder &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.businessdata.administration.client.method(office.14).aspx"&gt;Method&lt;/a&gt;, specify the query it will use, and define the input and output parameters associated with it.  The specific finder &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.businessdata.administration.client.method(office.14).aspx"&gt;Method&lt;/a&gt; returns exactly one row of data from the data source, given an identifier.&lt;/p&gt;
&lt;div id="codeSnippetWrapper"&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px" id="codeSnippet"&gt;&lt;span style="COLOR: #008000"&gt;//Create the specific finder method&lt;/span&gt;&lt;br /&gt;Method getCustomerMethod = customerEntity.Methods.Create(&lt;span style="COLOR: #006080"&gt;"GetCustomer"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;false&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"GetCustomer"&lt;/span&gt;); &lt;br /&gt;&lt;span style="COLOR: #008000"&gt;//Specify the query&lt;/span&gt;&lt;br /&gt;getCustomerMethod.Properties.Add(&lt;span style="COLOR: #006080"&gt;"RdbCommandText"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"SELECT [CustomerId] , &lt;br /&gt;    [FirstName] , [LastName] , [Phone] , [EmailAddress] , [CompanyName] FROM &lt;br /&gt;    [Customers].[SalesLT].[Customer] &lt;br /&gt;    WHERE [CustomerId] = @CustomerId"&lt;/span&gt;);&lt;br /&gt;&lt;span style="COLOR: #008000"&gt;//Set the command type&lt;/span&gt;&lt;br /&gt;getCustomerMethod.Properties.Add(&lt;span style="COLOR: #006080"&gt;"RdbCommandType"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"Text"&lt;/span&gt;);&lt;br /&gt;&lt;span style="COLOR: #008000"&gt;//Create the CustomerID input parameter&lt;/span&gt;&lt;br /&gt;Parameter customerIDParameter = getCustomerMethod.Parameters.Create(&lt;span style="COLOR: #006080"&gt;"@CustomerId"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, DirectionType.In);&lt;br /&gt;&lt;span style="COLOR: #008000"&gt;//Create the TypeDescriptor for the CustomerID parameter&lt;/span&gt;&lt;br /&gt;customerIDParameter.CreateRootTypeDescriptor( &lt;br /&gt;    &lt;span style="COLOR: #006080"&gt;"CustomerId"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"System.Int32"&lt;/span&gt;, &lt;br /&gt;    &lt;span style="COLOR: #006080"&gt;"CustomerId"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;new&lt;/span&gt; IdentifierReference(&lt;span style="COLOR: #006080"&gt;"CustomerId"&lt;/span&gt;,&lt;br /&gt;        &lt;span style="COLOR: #0000ff"&gt;new&lt;/span&gt; EntityReference(&lt;span style="COLOR: #006080"&gt;"AdventureWorks"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"Customer"&lt;/span&gt;, catalog), catalog),&lt;br /&gt;    &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, TypeDescriptorFlags.None, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, catalog); &lt;br /&gt;&lt;span style="COLOR: #008000"&gt;//Create the Customer return parameter&lt;/span&gt;&lt;br /&gt;Parameter customerParameter = getCustomerMethod.Parameters.Create(&lt;span style="COLOR: #006080"&gt;"Customer"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, DirectionType.Return); &lt;br /&gt;&lt;span style="COLOR: #008000"&gt;//Create the TypeDescriptors for the Customer return parameter&lt;/span&gt;&lt;br /&gt;TypeDescriptor returnRootCollectionTypeDescriptor = customerParameter.CreateRootTypeDescriptor(&lt;br /&gt;    &lt;span style="COLOR: #006080"&gt;"Customers"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;,&lt;br /&gt;    &lt;span style="COLOR: #006080"&gt;"System.Data.IDataReader, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"&lt;/span&gt;, &lt;br /&gt;    &lt;span style="COLOR: #006080"&gt;"Customers"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, TypeDescriptorFlags.IsCollection, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, catalog); &lt;br /&gt;TypeDescriptor returnRootElementTypeDescriptor = returnRootCollectionTypeDescriptor.ChildTypeDescriptors.Create(&lt;br /&gt;    &lt;span style="COLOR: #006080"&gt;"Customer"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;,&lt;br /&gt;    &lt;span style="COLOR: #006080"&gt;"System.Data.IDataRecord, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"&lt;/span&gt;,&lt;br /&gt;    &lt;span style="COLOR: #006080"&gt;"Customer"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, TypeDescriptorFlags.None, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;); &lt;br /&gt;returnRootElementTypeDescriptor.ChildTypeDescriptors.Create(&lt;br /&gt;    &lt;span style="COLOR: #006080"&gt;"CustomerId"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"System.Int32"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"CustomerId"&lt;/span&gt;,&lt;br /&gt;    &lt;span style="COLOR: #0000ff"&gt;new&lt;/span&gt; IdentifierReference(&lt;span style="COLOR: #006080"&gt;"CustomerId"&lt;/span&gt;,&lt;br /&gt;    &lt;span style="COLOR: #0000ff"&gt;new&lt;/span&gt; EntityReference(&lt;span style="COLOR: #006080"&gt;"AdventureWorks"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"Customer"&lt;/span&gt;, catalog), &lt;br /&gt;    catalog), &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, TypeDescriptorFlags.None, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;);&lt;br /&gt;returnRootElementTypeDescriptor.ChildTypeDescriptors.Create(&lt;br /&gt;    &lt;span style="COLOR: #006080"&gt;"FirstName"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"System.String"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"FirstName"&lt;/span&gt;,&lt;br /&gt;    &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, TypeDescriptorFlags.None, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;); &lt;br /&gt;returnRootElementTypeDescriptor.ChildTypeDescriptors.Create(&lt;br /&gt;    &lt;span style="COLOR: #006080"&gt;"LastName"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"System.String"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"LastName"&lt;/span&gt;,&lt;br /&gt;    &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, TypeDescriptorFlags.None, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;); &lt;br /&gt;returnRootElementTypeDescriptor.ChildTypeDescriptors.Create(&lt;br /&gt;    &lt;span style="COLOR: #006080"&gt;"Phone"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"System.String"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"Phone"&lt;/span&gt;,&lt;br /&gt;    &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, TypeDescriptorFlags.None, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;); &lt;br /&gt;returnRootElementTypeDescriptor.ChildTypeDescriptors.Create(&lt;br /&gt;    &lt;span style="COLOR: #006080"&gt;"EmailAddress"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"System.String"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"EmailAddress"&lt;/span&gt;,&lt;br /&gt;    &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, TypeDescriptorFlags.None, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;); &lt;br /&gt;returnRootElementTypeDescriptor.ChildTypeDescriptors.Create(&lt;br /&gt;    &lt;span style="COLOR: #006080"&gt;"CompanyName"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"System.String"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"CompanyName"&lt;/span&gt;,&lt;br /&gt;    &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, TypeDescriptorFlags.None, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;); &lt;br /&gt;&lt;span style="COLOR: #008000"&gt;//Create the specific finder method instance&lt;/span&gt;&lt;br /&gt;getCustomerMethod.MethodInstances.Create(&lt;span style="COLOR: #006080"&gt;"GetCustomer"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, &lt;br /&gt;    returnRootElementTypeDescriptor, MethodInstanceType.SpecificFinder, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;);&lt;/pre&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;h3&gt;Define the Finder Method, Parameters and Type Descriptors&lt;/h3&gt;
&lt;p&gt;Next, create the finder &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.businessdata.administration.client.method(office.14).aspx"&gt;Method&lt;/a&gt;, specify the query it will use, and define the output parameters associated with it.  The finder &lt;a target="_blank" href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.businessdata.administration.client.method(office.14).aspx"&gt;Method&lt;/a&gt; returns all of the rows of data from the data source which its query defines.&lt;/p&gt;
&lt;div id="codeSnippetWrapper"&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px" id="codeSnippet"&gt;&lt;span style="COLOR: #008000"&gt;//Create the Finder method&lt;/span&gt;&lt;br /&gt;Method getCustomersMethod = customerEntity.Methods.Create(&lt;span style="COLOR: #006080"&gt;"GetCustomers"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;false&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"GetCustomers"&lt;/span&gt;);&lt;br /&gt;&lt;span style="COLOR: #008000"&gt;//Specify the query&lt;/span&gt;&lt;br /&gt;getCustomersMethod.Properties.Add(&lt;span style="COLOR: #006080"&gt;"RdbCommandText"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"SELECT [CustomerId] , [FirstName] , [LastName] , [Phone] , [EmailAddress] , [CompanyName] FROM [Customers].[SalesLT].[Customer]"&lt;/span&gt;);&lt;br /&gt;&lt;span style="COLOR: #008000"&gt;//Set the command type&lt;/span&gt;&lt;br /&gt;getCustomersMethod.Properties.Add(&lt;span style="COLOR: #006080"&gt;"RdbCommandType"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"Text"&lt;/span&gt;);&lt;br /&gt;&lt;span style="COLOR: #008000"&gt;//Create the Customer return parameter&lt;/span&gt;&lt;br /&gt;Parameter customersParameter = getCustomersMethod.Parameters.Create(&lt;span style="COLOR: #006080"&gt;"Customer"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, DirectionType.Return);&lt;br /&gt;&lt;span style="COLOR: #008000"&gt;//Create the TypeDescriptors for the Customer return parameter&lt;/span&gt;&lt;br /&gt;TypeDescriptor returnRootCollectionTypeDescriptor2 =&lt;br /&gt;    customersParameter.CreateRootTypeDescriptor(&lt;br /&gt;        &lt;span style="COLOR: #006080"&gt;"Customers"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;,&lt;br /&gt;        &lt;span style="COLOR: #006080"&gt;"System.Data.IDataReader, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"&lt;/span&gt;,&lt;br /&gt;        &lt;span style="COLOR: #006080"&gt;"Customers"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, TypeDescriptorFlags.IsCollection, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, catalog);&lt;br /&gt;&lt;br /&gt;TypeDescriptor returnRootElementTypeDescriptor2 =&lt;br /&gt;    returnRootCollectionTypeDescriptor2.ChildTypeDescriptors.Create(&lt;br /&gt;        &lt;span style="COLOR: #006080"&gt;"Customer"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;,&lt;br /&gt;        &lt;span style="COLOR: #006080"&gt;"System.Data.IDataRecord, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"&lt;/span&gt;,&lt;br /&gt;        &lt;span style="COLOR: #006080"&gt;"Customer"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, TypeDescriptorFlags.None, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;);&lt;br /&gt;&lt;br /&gt;returnRootElementTypeDescriptor2.ChildTypeDescriptors.Create(&lt;br /&gt;    &lt;span style="COLOR: #006080"&gt;"CustomerId"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"System.Int32"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"CustomerId"&lt;/span&gt;,&lt;br /&gt;    &lt;span style="COLOR: #0000ff"&gt;new&lt;/span&gt; IdentifierReference(&lt;span style="COLOR: #006080"&gt;"CustomerId"&lt;/span&gt;,&lt;br /&gt;        &lt;span style="COLOR: #0000ff"&gt;new&lt;/span&gt; EntityReference(&lt;span style="COLOR: #006080"&gt;"AdventureWorks"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"Customer"&lt;/span&gt;, catalog), catalog),&lt;br /&gt;    &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, TypeDescriptorFlags.None, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;);&lt;br /&gt;&lt;br /&gt;returnRootElementTypeDescriptor2.ChildTypeDescriptors.Create(&lt;br /&gt;    &lt;span style="COLOR: #006080"&gt;"FirstName"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"System.String"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"FirstName"&lt;/span&gt;,&lt;br /&gt;    &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, TypeDescriptorFlags.None, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;);&lt;br /&gt;&lt;br /&gt;returnRootElementTypeDescriptor2.ChildTypeDescriptors.Create(&lt;br /&gt;    &lt;span style="COLOR: #006080"&gt;"LastName"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"System.String"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"LastName"&lt;/span&gt;,&lt;br /&gt;    &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, TypeDescriptorFlags.None, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;);&lt;br /&gt;&lt;br /&gt;returnRootElementTypeDescriptor2.ChildTypeDescriptors.Create(&lt;br /&gt;    &lt;span style="COLOR: #006080"&gt;"Phone"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"System.String"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"Phone"&lt;/span&gt;,&lt;br /&gt;    &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, TypeDescriptorFlags.None, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;);&lt;br /&gt;&lt;br /&gt;returnRootElementTypeDescriptor2.ChildTypeDescriptors.Create(&lt;br /&gt;    &lt;span style="COLOR: #006080"&gt;"EmailAddress"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"System.String"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"EmailAddress"&lt;/span&gt;,&lt;br /&gt;    &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, TypeDescriptorFlags.None, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;);&lt;br /&gt;&lt;br /&gt;returnRootElementTypeDescriptor2.ChildTypeDescriptors.Create(&lt;br /&gt;    &lt;span style="COLOR: #006080"&gt;"CompanyName"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"System.String"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"CompanyName"&lt;/span&gt;,&lt;br /&gt;    &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;, TypeDescriptorFlags.None, &lt;span style="COLOR: #0000ff"&gt;null&lt;/span&gt;);&lt;br /&gt;&lt;br /&gt;getCustomersMethod.MethodInstances.Create(&lt;span style="COLOR: #006080"&gt;"GetCustomers"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, returnRootCollectionTypeDescriptor2,&lt;br /&gt;    MethodInstanceType.Finder, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;);&lt;/pre&gt;
&lt;br /&gt;
&lt;/div&gt;
&lt;h3&gt;Commit the changes&lt;/h3&gt;
&lt;p&gt;Finally, commit the changes to the BCS Metadata Store.&lt;/p&gt;
&lt;div id="codeSnippetWrapper"&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px" id="codeSnippet"&gt;&lt;span style="COLOR: #008000"&gt;//Publish the Customer Entity&lt;/span&gt;&lt;br /&gt;customerEntity.Activate();&lt;/pre&gt;
&lt;br /&gt;
 &lt;/div&gt;
&lt;h2&gt;Verification&lt;/h2&gt;
&lt;p&gt;After the code executes check Central Administration to verify the external content type is successfully created.  Then create an external list to verify the external content type works as expected.&lt;/p&gt;
&lt;h3&gt;Central Administration&lt;/h3&gt;
&lt;p&gt;To verify the external content type is successfully created follow these steps.&lt;/p&gt;
&lt;ol&gt;
    &lt;li&gt;Open SharePoint Central Administration &lt;/li&gt;
    &lt;li&gt;Click Application Management &lt;/li&gt;
    &lt;li&gt;Click Manage service applications &lt;/li&gt;
    &lt;li&gt;Click the Business Data Connectivity service &lt;/li&gt;
    &lt;li&gt;In the ribbon, click Manage &lt;/li&gt;
    &lt;li&gt;In the ribbon, click Edit &lt;/li&gt;
    &lt;li&gt;Select BDC Models in the View dropdown list &lt;/li&gt;
    &lt;li&gt;Verify the BDC Model is in the list  &lt;br /&gt;
    &lt;br /&gt;
    &lt;a rel="lightbox" href="http://www.toddbaginski.com/blog/images/www_toddbaginski_com/blog/WindowsLiveWriter/HOWTOProgrammaticallycreateanExternalCon_CF4C/BDC%20Model%20List_4.png"&gt;&lt;img style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title="BDC Model List" border="0" alt="BDC Model List" width="142" height="71" src="http://www.toddbaginski.com/blog/images/www_toddbaginski_com/blog/WindowsLiveWriter/HOWTOProgrammaticallycreateanExternalCon_CF4C/BDC%20Model%20List_thumb_1.png" /&gt;&lt;/a&gt; &lt;br /&gt;
    &lt;/li&gt;
    &lt;li&gt;In the ribbon, click Edit &lt;/li&gt;
    &lt;li&gt;Select External Content Types in the View dropdown list &lt;/li&gt;
    &lt;li&gt;Verify the BCS Model is in the list  &lt;br /&gt;
    &lt;br /&gt;
    &lt;a rel="lightbox" href="http://www.toddbaginski.com/blog/images/www_toddbaginski_com/blog/WindowsLiveWriter/HOWTOProgrammaticallycreateanExternalCon_CF4C/External%20Content%20Types%20List_4.png"&gt;&lt;img style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title="External Content Types List" border="0" alt="External Content Types List" width="600" height="54" src="http://www.toddbaginski.com/blog/images/www_toddbaginski_com/blog/WindowsLiveWriter/HOWTOProgrammaticallycreateanExternalCon_CF4C/External%20Content%20Types%20List_thumb_1.png" /&gt;&lt;/a&gt;   &lt;/li&gt;
&lt;/ol&gt;
&lt;h3&gt;Create An External List&lt;/h3&gt;
&lt;p&gt;To verify the external content type works as expected follow these steps.&lt;/p&gt;
&lt;ol&gt;
    &lt;li&gt;Open the SharePoint web site where you created the external content type &lt;/li&gt;
    &lt;li&gt;Log in as a user who has the permission to create lists&lt;/li&gt;
    &lt;li&gt;Click the Site Actions menu &lt;/li&gt;
    &lt;li&gt;Select View All Site Content &lt;/li&gt;
    &lt;li&gt;Click Create &lt;/li&gt;
    &lt;li&gt;In the Filter By section, click List &lt;/li&gt;
    &lt;li&gt;Select External List &lt;br /&gt;
    &lt;a rel="lightbox" href="http://www.toddbaginski.com/blog/images/www_toddbaginski_com/blog/WindowsLiveWriter/HOWTOProgrammaticallycreateanExternalCon_CF4C/Create%20External%20List_2.png"&gt;&lt;img style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title="Create External List" border="0" alt="Create External List" width="600" height="377" src="http://www.toddbaginski.com/blog/images/www_toddbaginski_com/blog/WindowsLiveWriter/HOWTOProgrammaticallycreateanExternalCon_CF4C/Create%20External%20List_thumb.png" /&gt;&lt;/a&gt; &lt;/li&gt;
    &lt;li&gt;Click the Create button &lt;/li&gt;
    &lt;li&gt;In the Name textbox enter Programmatically Generated External Content Type &lt;/li&gt;
    &lt;li&gt;Click the button to browse the external content types &lt;br /&gt;
     &lt;a rel="lightbox" href="http://www.toddbaginski.com/blog/images/www_toddbaginski_com/blog/WindowsLiveWriter/HOWTOProgrammaticallycreateanExternalCon_CF4C/External%20Content%20Type%20Picker_2.png"&gt;&lt;img style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title="External Content Type Picker" border="0" alt="External Content Type Picker" width="301" height="57" src="http://www.toddbaginski.com/blog/images/www_toddbaginski_com/blog/WindowsLiveWriter/HOWTOProgrammaticallycreateanExternalCon_CF4C/External%20Content%20Type%20Picker_thumb.png" /&gt;&lt;/a&gt; &lt;/li&gt;
    &lt;li&gt;Select the Customer External Content Type in the External Content Type Picker  &lt;br /&gt;
    &lt;a rel="lightbox" href="http://www.toddbaginski.com/blog/images/www_toddbaginski_com/blog/WindowsLiveWriter/HOWTOProgrammaticallycreateanExternalCon_CF4C/External%20Content%20Type%20Picker_4.png"&gt;&lt;img style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title="External Content Type Picker" border="0" alt="External Content Type Picker" width="583" height="149" src="http://www.toddbaginski.com/blog/images/www_toddbaginski_com/blog/WindowsLiveWriter/HOWTOProgrammaticallycreateanExternalCon_CF4C/External%20Content%20Type%20Picker_thumb_1.png" /&gt;&lt;/a&gt; &lt;/li&gt;
    &lt;li&gt;Click OK &lt;/li&gt;
    &lt;li&gt;Click Create &lt;/li&gt;
    &lt;li&gt;View the data from the data source in the external list &lt;br /&gt;
    &lt;a rel="lightbox" href="http://www.toddbaginski.com/blog/images/www_toddbaginski_com/blog/WindowsLiveWriter/HOWTOProgrammaticallycreateanExternalCon_CF4C/Data%20in%20external%20list_4.png"&gt;&lt;img style="BORDER-RIGHT-WIDTH: 0px; DISPLAY: inline; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" title="Data in external list" border="0" alt="Data in external list" width="600" height="265" src="http://www.toddbaginski.com/blog/images/www_toddbaginski_com/blog/WindowsLiveWriter/HOWTOProgrammaticallycreateanExternalCon_CF4C/Data%20in%20external%20list_thumb_1.png" /&gt;&lt;/a&gt; &lt;/li&gt;
&lt;/ol&gt;
&lt;h1&gt;Wrap Up&lt;/h1&gt;
&lt;p&gt;As always, I hope this article saves you time and effort and helps you understand how to put this technology to use.  There are several good BCS articles appearing on the Internet lately.  You may check them out at the following blogs.&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="http://blogs.msdn.com/bcs/"&gt;BCS Team Blog&lt;/a&gt; &lt;br /&gt;
&lt;a target="_blank" href="http://www.lightningtools.com/blog/"&gt;Nick Swan’s blog&lt;/a&gt; &lt;br /&gt;
&lt;a target="_blank" href="http://fabiangwilliams.wordpress.com/"&gt;Fabian Williams’ blog&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Yeah baby, only 12 days and I’m on vacation in Mexico!!!&lt;/p&gt;&lt;img src="http://www.toddbaginski.com/blog/aggbug/60.aspx" width="1" height="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/ToddBaginski/~4/mZvMtDyHw9A" height="1" width="1"/&gt;</description>
            <dc:creator>Todd Baginski</dc:creator>
            <guid isPermaLink="false">http://www.toddbaginski.com/blog/archive/2009/12/01/how-to-programmatically-create-a-sharepoint-2010-external-content-type.aspx</guid>
            <pubDate>Tue, 01 Dec 2009 07:00:00 GMT</pubDate>
            <wfw:comment>http://www.toddbaginski.com/blog/comments/60.aspx</wfw:comment>
            <comments>http://www.toddbaginski.com/blog/archive/2009/12/01/how-to-programmatically-create-a-sharepoint-2010-external-content-type.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://www.toddbaginski.com/blog/comments/commentRss/60.aspx</wfw:commentRss>
            <trackback:ping>http://www.toddbaginski.com/blog/services/trackbacks/60.aspx</trackback:ping>
        <feedburner:origLink>http://www.toddbaginski.com/blog/archive/2009/12/01/how-to-programmatically-create-a-sharepoint-2010-external-content-type.aspx</feedburner:origLink></item>
        <item>
            <title>Which SharePoint 2010 Site Template Is Right For Me?</title>
            <category> Custom Development
  </category>
            <category> Helpful Code
  </category>
            <category>SharePoint 2010</category>
            <category>Site Templates</category>
            <category>Site Definitions</category>
            <category>Lists</category>
            <link>http://feedproxy.google.com/~r/ToddBaginski/~3/SM6ING973CE/which-sharepoint-2010-site-template-is-right-for-me.aspx</link>
            <description>&lt;a class="retweet self"&gt;&lt;/a&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;When MOSS 2007 came out I created &lt;a target="_blank" href="http://www.toddbaginski.com/blog/archive/0001/01/01/which-wss-3.0-moss-2007-site-template-is.aspx"&gt;a blog post&lt;/a&gt; very similar to this one.  It turned out to be one of my most popular posts and I received many comments and private emails thanking me for putting the post together.  Since the post helped out so many folks I decided to create an updated version for SharePoint 2010.&lt;/p&gt;
&lt;p&gt;SharePoint 2010 ships with many predefined site 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. &lt;/p&gt;
&lt;p&gt;&lt;em&gt;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 you architect a SharePoint deployment.&lt;/em&gt; This being said, it is important to understand the templates SharePoint 2010 comes with out of the box and what sub sites, lists and pages they support. &lt;/p&gt;
&lt;p&gt;This post outlines the site templates SharePoint 2010 comes with out of the box and what sub sites, lists and pages they support.  As usual, I’ve documented several useful pieces of information developers will find handy when working with the out of the box SharePoint site templates. &lt;/p&gt;
&lt;p&gt;If you install Silverlight on your machine you’ll be presented with a fancy new interface to create sites (shown below).  As you can see, SharePoint 2010 offers some guidance when creating new sites by providing descriptions and preview images for each out of the box template. However, not all of the 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. &lt;/p&gt;
&lt;p&gt;&lt;a rel="lightbox" href="http://www.toddbaginski.com/blog/images/www_toddbaginski_com/blog/WindowsLiveWriter/WhichSharePoint2010SiteTemplateIsRightFo_10D0A/site%20creation%20screen_2.png"&gt;&lt;img style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title="site creation screen" border="0" alt="site creation screen" width="600" height="376" src="http://www.toddbaginski.com/blog/images/www_toddbaginski_com/blog/WindowsLiveWriter/WhichSharePoint2010SiteTemplateIsRightFo_10D0A/site%20creation%20screen_thumb.png" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;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 29 different site collections (that’s 6 more than MOSS 2007 if you are keeping track) I realized it would be hard to remember what each one looks like and what resources they offer. So, I decided to take some screenshots and document the site templates.&lt;/p&gt;
&lt;h2&gt;Preview Images&lt;/h2&gt;
&lt;p&gt;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: &lt;/p&gt;
&lt;p&gt;C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS\1033\IMAGES&lt;/p&gt;
&lt;p&gt;The file names for the preview images corresponding to each site template are listed in the tables below. &lt;/p&gt;
&lt;h2&gt;A More Detailed Look&lt;/h2&gt;
&lt;p&gt;If you care to see what each of the home pages for the site templates look like you can download screenshots of each and every site template in &lt;a target="_blank" href="http://www.toddbaginski.com/blog/files/Images/SP%202010%20Site%20Template%20Homepage%20Screenshots/SP%202010%20Site%20Template%20Screenshots.zip"&gt;this zip file&lt;/a&gt;. The screenshots should provide you with a good understanding of the different layouts that come with each out of the box template.  &lt;em&gt;This should save you a lot of time creating each type of site template on your own machine!&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Here’s an example, showing the new Business Intelligence Center; oh how fancy!&lt;/p&gt;
&lt;p&gt;&lt;a rel="lightbox" href="http://www.toddbaginski.com/blog/images/www_toddbaginski_com/blog/WindowsLiveWriter/WhichSharePoint2010SiteTemplateIsRightFo_10D0A/Business%20Intelligence%20Center_2.png"&gt;&lt;img style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; DISPLAY: inline; BORDER-TOP: 0px; BORDER-RIGHT: 0px" title="Business Intelligence Center" border="0" alt="Business Intelligence Center" width="600" height="404" src="http://www.toddbaginski.com/blog/images/www_toddbaginski_com/blog/WindowsLiveWriter/WhichSharePoint2010SiteTemplateIsRightFo_10D0A/Business%20Intelligence%20Center_thumb.png" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;h1&gt;Important planning information related to the out of the box site Templates!&lt;/h1&gt;
&lt;h2&gt;Available Sub Site Templates&lt;/h2&gt;
&lt;p&gt;The next table lists the WEBTEMP XML fragment files each site template and configuration are defined in, the concatenated template and configuration string you need when making sites with the site template programmatically, and the file name of the preview image. 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 &lt;a target="_blank" href="http://www.toddbaginski.com/blog/files/Images/SP%202010%20Site%20Template%20Homepage%20Screenshots/SP%202010%20Site%20Template%20Screenshots.zip"&gt;here&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; You may have to perform this process again after a service pack is applied in the future. Editing the various WEBTEMP files that come out of the box is not a recommended approach; that’s why I recommend this approach. &lt;/p&gt;
&lt;p&gt;As I mentioned before, knowing which sub sites, lists, and pages are available within a given site template are key peices of information you will want to know when you architect a SharePoint solution.  The table below displays which sub site templates are available for a given parent site template.&lt;/p&gt;
&lt;p&gt;Select a site template to filter the table: &lt;select id="select1" onchange="OnTemplatesDropDownChange(document.getElementById('select1'));"&gt;
&lt;option selected="selected"&gt;Show All&lt;/option&gt;
&lt;option&gt;Central Administration&lt;/option&gt;
&lt;option&gt;Team Site&lt;/option&gt;
&lt;option&gt;Blank Site&lt;/option&gt;
&lt;option&gt;Document Workspace&lt;/option&gt;
&lt;option&gt;Blog&lt;/option&gt;
&lt;option&gt;Group Work Site&lt;/option&gt;
&lt;option&gt;Visio Process Repository&lt;/option&gt;
&lt;option&gt;Assets Web Database&lt;/option&gt;
&lt;option&gt;Charitable Contributions Web Database&lt;/option&gt;
&lt;option&gt;Contatcs Web Database&lt;/option&gt;
&lt;option&gt;Issues Web Database&lt;/option&gt;
&lt;option&gt;Projects Web Database&lt;/option&gt;
&lt;option&gt;Basic Meeting Workspace&lt;/option&gt;
&lt;option&gt;Blank Meeting Workspace&lt;/option&gt;
&lt;option&gt;Decision Meeting Workspace&lt;/option&gt;
&lt;option&gt;Social Meeting Workspace&lt;/option&gt;
&lt;option&gt;Multipage Meeting Workspace&lt;/option&gt;
&lt;option&gt;Document Center&lt;/option&gt;
&lt;option&gt;Records Center&lt;/option&gt;
&lt;option&gt;Business Intelligence Center&lt;/option&gt;
&lt;option&gt;My Site Host&lt;/option&gt;
&lt;option&gt;Personalization Site&lt;/option&gt;
&lt;option&gt;Enterprise Search Center&lt;/option&gt;
&lt;option&gt;Basic Search Center&lt;/option&gt;
&lt;option&gt;FAST Search Center&lt;/option&gt;
&lt;option&gt;Enterprise Wiki&lt;/option&gt;
&lt;option&gt;Publishing Portal&lt;/option&gt;
&lt;option&gt;Publishing Site&lt;/option&gt;
&lt;option&gt;Publishing Site With Workflow&lt;/option&gt;
&lt;/select&gt;&lt;/p&gt;
&lt;table id="templates_table" cellspacing="0" width="600"&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;th style="DISPLAY: none"&gt; &lt;/th&gt;
            &lt;th&gt;&lt;strong&gt;Available Sub Site Templates&lt;/strong&gt;&lt;/th&gt;
            &lt;th&gt;&lt;strong&gt;Site Definition&lt;/strong&gt;&lt;/th&gt;
            &lt;th&gt;&lt;strong&gt;Config&lt;/strong&gt;&lt;/th&gt;
            &lt;th&gt;&lt;strong&gt;Concatenated String&lt;/strong&gt;&lt;/th&gt;
            &lt;th&gt;&lt;strong&gt;Preview Image Name&lt;/strong&gt;&lt;/th&gt;
            &lt;th&gt;&lt;strong&gt;Defined in this WEBTEMP File&lt;/strong&gt;&lt;/th&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Team Site&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;STS&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;STS#0&lt;/td&gt;
            &lt;td&gt;stts.png&lt;/td&gt;
            &lt;td&gt;WEBTEMP.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Blank Site&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;STS&lt;/td&gt;
            &lt;td&gt;1&lt;/td&gt;
            &lt;td&gt;STS#1&lt;/td&gt;
            &lt;td&gt;stbs.png&lt;/td&gt;
            &lt;td&gt;WEBTEMP.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Document Workspace&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;STS&lt;/td&gt;
            &lt;td&gt;2&lt;/td&gt;
            &lt;td&gt;STS#2&lt;/td&gt;
            &lt;td&gt;stdw.png&lt;/td&gt;
            &lt;td&gt;WEBTEMP.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Blog&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;BLOG&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;BLOG#0&lt;/td&gt;
            &lt;td&gt;stbg.png&lt;/td&gt;
            &lt;td&gt;WEBTEMP.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Group Work Site&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;SGS&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;SGS#0&lt;/td&gt;
            &lt;td&gt;stgb.png&lt;/td&gt;
            &lt;td&gt;WEBTEMP.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Visio Process Repository&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;VISPRUS&lt;/td&gt;
            &lt;td&gt;1&lt;/td&gt;
            &lt;td&gt;VISPRUS#0&lt;/td&gt;
            &lt;td&gt;custprev.png&lt;/td&gt;
            &lt;td&gt;WEBTEMPVISPR.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Basic Meeting Workspace&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;MPS&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;MPS#0&lt;/td&gt;
            &lt;td&gt;stmw.png&lt;/td&gt;
            &lt;td&gt;WEBTEMP.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Blank Meeting Workspace&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;MPS&lt;/td&gt;
            &lt;td&gt;1&lt;/td&gt;
            &lt;td&gt;MPS#1&lt;/td&gt;
            &lt;td&gt;stbm.png&lt;/td&gt;
            &lt;td&gt;WEBTEMP.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Decision Meeting Workspace&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;MPS&lt;/td&gt;
            &lt;td&gt;2&lt;/td&gt;
            &lt;td&gt;MPS#2&lt;/td&gt;
            &lt;td&gt;stdm.png&lt;/td&gt;
            &lt;td&gt;WEBTEMP.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Social Meeting Workspace&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;MPS&lt;/td&gt;
            &lt;td&gt;3&lt;/td&gt;
            &lt;td&gt;MPS#3&lt;/td&gt;
            &lt;td&gt;stsm.png&lt;/td&gt;
            &lt;td&gt;WEBTEMP.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Multipage Meeting Workspace&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;MPS&lt;/td&gt;
            &lt;td&gt;4&lt;/td&gt;
            &lt;td&gt;MPS#4&lt;/td&gt;
            &lt;td&gt;stmm.png&lt;/td&gt;
            &lt;td&gt;WEBTEMP.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Assets Web Database&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;ACCSRV&lt;/td&gt;
            &lt;td&gt;1&lt;/td&gt;
            &lt;td&gt;ACCSRV#1&lt;/td&gt;
            &lt;td&gt; &lt;/td&gt;
            &lt;td&gt;WEBTEMPACCSRV.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Charitable Contributions Web Database&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;ACCSRV&lt;/td&gt;
            &lt;td&gt;3&lt;/td&gt;
            &lt;td&gt;ACCSRV#3&lt;/td&gt;
            &lt;td&gt; &lt;/td&gt;
            &lt;td&gt;WEBTEMPACCSRV.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Contacts Web Database&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;ACCSRV&lt;/td&gt;
            &lt;td&gt;4&lt;/td&gt;
            &lt;td&gt;ACCSRV#41&lt;/td&gt;
            &lt;td&gt; &lt;/td&gt;
            &lt;td&gt;WEBTEMPACCSRV.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Issues Web Database&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;ACCSRV&lt;/td&gt;
            &lt;td&gt;6&lt;/td&gt;
            &lt;td&gt;ACCSRV#6&lt;/td&gt;
            &lt;td&gt; &lt;/td&gt;
            &lt;td&gt;WEBTEMPACCSRV.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Projects Web Database&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;ACCSRV&lt;/td&gt;
            &lt;td&gt;5&lt;/td&gt;
            &lt;td&gt;ACCSRV#5&lt;/td&gt;
            &lt;td&gt; &lt;/td&gt;
            &lt;td&gt;WEBTEMPACCSRV.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Document Center&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;BDR&lt;/td&gt;
            &lt;td&gt;7&lt;/td&gt;
            &lt;td&gt;BDR#7&lt;/td&gt;
            &lt;td&gt;preview.png&lt;/td&gt;
            &lt;td&gt;WEBTEMPBDR.EN-US.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Records Center&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;OFFILE&lt;/td&gt;
            &lt;td&gt;1&lt;/td&gt;
            &lt;td&gt;OFFILE#1&lt;/td&gt;
            &lt;td&gt;strc.png&lt;/td&gt;
            &lt;td&gt;WEBTEMPOFFILE.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Business Intelligence Center;Enterprise Wiki;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Business Intelligence Center&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;BICenterSite&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;BICenterSite#0&lt;/td&gt;
            &lt;td&gt;bicenterlogo.png&lt;/td&gt;
            &lt;td&gt;WEBTEMPPPSMA.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt; &lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;My Site Host&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;SPSMSITEHOST&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;SPSMSITEHOST#0&lt;/td&gt;
            &lt;td&gt;perstemp.gif&lt;/td&gt;
            &lt;td&gt;WEBTEMPSPS.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Personalization Site&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;SPSMSITE&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;SPSMSITE#0&lt;/td&gt;
            &lt;td&gt;stps.png&lt;/td&gt;
            &lt;td&gt;WEBTEMPSPS.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Team Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Enterprise Search Center;FAST Search Center;&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Enterprise Search Center&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;SRCHCEN&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;SRCHCEN#0&lt;/td&gt;
            &lt;td&gt;template_srch_cntr.png&lt;/td&gt;
            &lt;td&gt;WEBTEMPSPS.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Basic Search Center&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;SRCHCENTERLITE&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;SRCHCENTERLITE#0&lt;/td&gt;
            &lt;td&gt;template_srch_cntr_lite.png&lt;/td&gt;
            &lt;td&gt;WEBTEMPSRCH.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Team Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Enterprise Search Center;FAST Search Center;&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;FAST Search Center&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;SRCHCENTERFAST&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;SRCHCENTERFAST#0&lt;/td&gt;
            &lt;td&gt;template_srch_cntr_lite.png&lt;/td&gt;
            &lt;td&gt;WEBTEMPSRCH.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Visio Process Repository;Business Intelligence Center;Personalization Site;Enterprise Search Center;FAST Search Center;Enterprise Wiki;Publishing Portal;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Enterprise Wiki&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;ENTERWIKI&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;ENTERWIKI#0&lt;/td&gt;
            &lt;td&gt;IPPT.gif&lt;/td&gt;
            &lt;td&gt;WEBTEMPSPS.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt; &lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Publishing Portal&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;BLANKINTERNETCONTAINER&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;BLANKINTERNETCONTAINER#0&lt;/td&gt;
            &lt;td&gt;IPPT.gif&lt;/td&gt;
            &lt;td&gt;WEBTEMPSPS.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Visio Process Repository;Business Intelligence Center;Personalization Site;Enterprise Search Center;FAST Search Center;Enterprise Wiki;Publishing Portal;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Publishing Site&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;CMSPUBLISHING&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;CMSPUBLISHING#0&lt;/td&gt;
            &lt;td&gt;stpb.png&lt;/td&gt;
            &lt;td&gt;WEBTEMPSPS.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Visio Process Repository;Business Intelligence Center;Personalization Site;Enterprise Search Center;FAST Search Center;Enterprise Wiki;Publishing Portal;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Publishing Site With Workflow&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;BLANKINTERNET&lt;/td&gt;
            &lt;td&gt;2&lt;/td&gt;
            &lt;td&gt;BLANKINTERNET#2&lt;/td&gt;
            &lt;td&gt;stpw.png&lt;/td&gt;
            &lt;td&gt;WEBTEMPSPS.XML&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;h3&gt;New Site Templates&lt;/h3&gt;
&lt;p&gt;The following site templates are new to SharePoint 2010.&lt;/p&gt;
&lt;table border="1" cellspacing="0" cellpadding="2" width="600"&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td valign="top" width="600"&gt;Group Work Site&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td valign="top" width="600"&gt;Visio Process Repository&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td valign="top" width="600"&gt;Assets Web Database&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td valign="top" width="600"&gt;Charitable Contributions Web Database&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td valign="top" width="600"&gt;Contacts Web Database&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td valign="top" width="600"&gt;Issues Web Database&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td valign="top" width="600"&gt;Projects Web Database&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td valign="top" width="600"&gt;Business Intelligence Center&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td valign="top" width="600"&gt;Enterprise Search Center&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td valign="top" width="600"&gt;Basic Search Center&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td valign="top" width="600"&gt;FAST Search Center&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td valign="top" width="600"&gt;Enterprise Wiki&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;h3&gt;Deprecated / Removed Site Templates&lt;/h3&gt;
&lt;p&gt;The following site templates are deprecated or removed in SharePoint 2010.&lt;/p&gt;
&lt;table border="1" cellspacing="0" cellpadding="2" width="600"&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;td valign="top" width="600"&gt;Wiki Site&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td valign="top" width="600"&gt;Site Directory&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td valign="top" width="600"&gt;Report Center&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td valign="top" width="600"&gt;Search Center with Tabs&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td valign="top" width="600"&gt;Search Center&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td valign="top" width="600"&gt;Collaboration Portal&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td valign="top" width="600"&gt;News Site&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2&gt;Available Lists&lt;/h2&gt;
&lt;p&gt;Similarly, the table below displays which lists are available for a given site template.&lt;/p&gt;
&lt;p&gt;Select a site template to filter the table: &lt;select id="select2" onchange="OnListsDropDownChange(document.getElementById(&amp;quot;select2&amp;quot;));"&gt;
&lt;option selected="selected"&gt;Show All&lt;/option&gt;
&lt;option&gt;Central Administration&lt;/option&gt;
&lt;option&gt;Team Site&lt;/option&gt;
&lt;option&gt;Blank Site&lt;/option&gt;
&lt;option&gt;Document Workspace&lt;/option&gt;
&lt;option&gt;Blog&lt;/option&gt;
&lt;option&gt;Group Work Site&lt;/option&gt;
&lt;option&gt;Visio Process Repository&lt;/option&gt;
&lt;option&gt;Assets Web Database&lt;/option&gt;
&lt;option&gt;Charitable Contributions Web Database&lt;/option&gt;
&lt;option&gt;Contatcs Web Database&lt;/option&gt;
&lt;option&gt;Issues Web Database&lt;/option&gt;
&lt;option&gt;Projects Web Database&lt;/option&gt;
&lt;option&gt;Basic Meeting Workspace&lt;/option&gt;
&lt;option&gt;Blank Meeting Workspace&lt;/option&gt;
&lt;option&gt;Decision Meeting Workspace&lt;/option&gt;
&lt;option&gt;Social Meeting Workspace&lt;/option&gt;
&lt;option&gt;Multipage Meeting Workspace&lt;/option&gt;
&lt;option&gt;Document Center&lt;/option&gt;
&lt;option&gt;Records Center&lt;/option&gt;
&lt;option&gt;Business Intelligence Center&lt;/option&gt;
&lt;option&gt;My Site Host&lt;/option&gt;
&lt;option&gt;Personalization Site&lt;/option&gt;
&lt;option&gt;Enterprise Search Center&lt;/option&gt;
&lt;option&gt;Basic Search Center&lt;/option&gt;
&lt;option&gt;FAST Search Center&lt;/option&gt;
&lt;option&gt;Enterprise Wiki&lt;/option&gt;
&lt;option&gt;Publishing Portal&lt;/option&gt;
&lt;option&gt;Publishing Site&lt;/option&gt;
&lt;option&gt;Publishing Site With Workflow&lt;/option&gt;
&lt;/select&gt;&lt;/p&gt;
&lt;table id="lists_table" cellspacing="0" class="mytable"&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;th style="DISPLAY: none"&gt; &lt;/th&gt;
            &lt;th&gt;&lt;strong&gt;Available Lists&lt;/strong&gt;&lt;/th&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Team Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;Personalization Site;Enterprise Search Center;FAST Search Center;Enterprise Wiki;Publishing Portal;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Asset Library&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Business Intelligence Center&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Dashboards Library&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;Personalization Site;Enterprise Search Center;Basic Search Center;Publishing Site&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Data Connection Library&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Portal;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Document Library&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Form Library&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;My Site Host;Personalization Site;Enterprise Search Center;FAST Search Center;Enterprise Wiki;Publishing Portal;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Picture Library&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Visio Process Repository&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Process Diagram Library (US Units)&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Team Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;My Site Host;Personalization Site;Enterprise Search Center;Publishing Site&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Report Library&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Team Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Publishing Site&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Slide Library&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Team Site;Blank Site;&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Translation Management&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Wiki Page Library&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Agenda&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Announcements&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Calendar&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Group Work Site;Multipage Meeting Workspace;Basic Search Center&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Circulations&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Contacts&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Portal;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Custom List&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Custom List in Datasheet View&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Decisions&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Discussion Board&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Portal;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;External List&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Document Workspace;Blog;Group Work Site;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Portal;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Import Spreadsheet&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Issue Tracking&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Team Site&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Languages and Translators&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Links&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Group Work Site&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Microsoft IME Dictionary List&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Objectives&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Business Intelligence Center&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;PerformancePoint Content List&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Project Tasks&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;Personalization Site;Enterprise Search Center&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Status List&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Site&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Survey&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Basic Search Center;FAST Search Center&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Tabs List&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration;Team Site;Blank Site;Blog;Group Work Site;Visio Process Repository;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace;Document Center;Records Center;Business Intelligence Center;My Site Host;Personalization Site;Enterprise Search Center;Basic Search Center;FAST Search Center;Enterprise Wiki;Publishing Portal;Publishing Site;Publishing Site With Workflow&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Tasks&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Text Box&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Things To Bring&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Administrator Tasks&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Central Administration&lt;/td&gt;
            &lt;td&gt;&lt;strong&gt;Distribution Groups&lt;/strong&gt;&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2&gt;Available Pages&lt;/h2&gt;
&lt;p&gt;Finally, the table below displays which types of pages are available to create within a given site template.&lt;/p&gt;
&lt;p&gt;Select a site template to filter the table: &lt;select id="select3" onchange="OnPagesDropDownChange(document.getElementById(&amp;quot;select3&amp;quot;));"&gt;
&lt;option selected="selected"&gt;Select a template&lt;/option&gt;
&lt;option&gt;Central Administration&lt;/option&gt;
&lt;option&gt;Team Site&lt;/option&gt;
&lt;option&gt;Blank Site&lt;/option&gt;
&lt;option&gt;Document Workspace&lt;/option&gt;
&lt;option&gt;Blog&lt;/option&gt;
&lt;option&gt;Group Work Site&lt;/option&gt;
&lt;option&gt;Visio Process Repository&lt;/option&gt;
&lt;option&gt;Assets Web Database&lt;/option&gt;
&lt;option&gt;Charitable Contributions Web Database&lt;/option&gt;
&lt;option&gt;Contacts Web Database&lt;/option&gt;
&lt;option&gt;Issues Web Database&lt;/option&gt;
&lt;option&gt;Projects Web Database&lt;/option&gt;
&lt;option&gt;Basic Meeting Workspace&lt;/option&gt;
&lt;option&gt;Blank Meeting Workspace&lt;/option&gt;
&lt;option&gt;Decision Meeting Workspace&lt;/option&gt;
&lt;option&gt;Social Meeting Workspace&lt;/option&gt;
&lt;option&gt;Multipage Meeting Workspace&lt;/option&gt;
&lt;option&gt;Document Center&lt;/option&gt;
&lt;option&gt;Records Center&lt;/option&gt;
&lt;option&gt;Business Intelligence Center&lt;/option&gt;
&lt;option&gt;My Site Host&lt;/option&gt;
&lt;option&gt;Personalization Site&lt;/option&gt;
&lt;option&gt;Enterprise Search Center&lt;/option&gt;
&lt;option&gt;Basic Search Center&lt;/option&gt;
&lt;option&gt;FAST Search Center&lt;/option&gt;
&lt;option&gt;Enterprise Wiki&lt;/option&gt;
&lt;option&gt;Publishing Portal&lt;/option&gt;
&lt;option&gt;Publishing Site&lt;/option&gt;
&lt;option&gt;Publishing Site With Workflow&lt;/option&gt;
&lt;/select&gt;&lt;/p&gt;
&lt;table id="pages_table" cellspacing="0" class="mytable"&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;th style="DISPLAY: none"&gt; &lt;/th&gt;
            &lt;th&gt;&lt;strong&gt;Content Page&lt;/strong&gt;&lt;/th&gt;
            &lt;th&gt;&lt;strong&gt;Publishing Page&lt;/strong&gt;&lt;/th&gt;
            &lt;th&gt;&lt;strong&gt;Web Part Page&lt;/strong&gt;&lt;/th&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;&lt;strong&gt;Central Administration;Team Site;Blank Site;Document Workspace;Blog;Group Work Site;Visio Process Repository;Document Center;Records Center;My Site Host;Personalization Site;Basic Search Center&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;Yes&lt;/td&gt;
            &lt;td&gt;No&lt;/td&gt;
            &lt;td&gt;Yes&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;Business Intelligence Center;Enterprise Search Center;FAST Search Center;Enterprise Wiki;Publishing Portal;Publishing Site;Publishing Site With Workflow&lt;strong /&gt;&lt;/td&gt;
            &lt;td&gt;Yes&lt;/td&gt;
            &lt;td&gt;Yes&lt;/td&gt;
            &lt;td&gt;Yes&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td style="DISPLAY: none"&gt;&lt;strong&gt;Assets Web Database;Charitable Contributions Web Database;Contacts Web Database;Issues Web Database;Projects Web Database;Basic Meeting Workspace;Blank Meeting Workspace;Decision Meeting Workspace;Social Meeting Workspace;Multipage Meeting Workspace&lt;/strong&gt;&lt;/td&gt;
            &lt;td&gt;No&lt;/td&gt;
            &lt;td&gt;No&lt;/td&gt;
            &lt;td&gt;No&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2&gt;Buried Treasure: Hidden Templates!&lt;/h2&gt;
&lt;p&gt;Many of the site templates listed in the following table are left over from the previous versions 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 reference. &lt;/p&gt;
&lt;p&gt;Hidden site templates (not including Global template or Central Administration): &lt;/p&gt;
&lt;table id="hidden_table" cellspacing="0" class="mytable"&gt;
    &lt;tbody&gt;
        &lt;tr&gt;
            &lt;th&gt;&lt;strong&gt;Site Template Name&lt;/strong&gt;&lt;/th&gt;
            &lt;th&gt;&lt;strong&gt;Site Definition&lt;/strong&gt;&lt;/th&gt;
            &lt;th&gt;&lt;strong&gt;Configuration&lt;/strong&gt;&lt;/th&gt;
            &lt;th&gt;&lt;strong&gt;Concatenated String&lt;/strong&gt;&lt;/th&gt;
            &lt;th&gt;&lt;strong&gt;Preview Image Name&lt;/strong&gt;&lt;/th&gt;
            &lt;th&gt;&lt;strong&gt;Defined in this WEBTEMP File&lt;/strong&gt;&lt;/th&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;Wiki Site&lt;/td&gt;
            &lt;td&gt;WIKI&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;WIKI#0&lt;/td&gt;
            &lt;td&gt;wikiprev.png&lt;/td&gt;
            &lt;td&gt;WEBTEMP.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;Tenant Admin Site&lt;/td&gt;
            &lt;td&gt;TENANTADMIN&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;TENANTADMIN#0&lt;/td&gt;
            &lt;td&gt; &lt;/td&gt;
            &lt;td&gt;WEBTEMP.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;Access Services Site&lt;/td&gt;
            &lt;td&gt;ACCSRV&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;ACCSRV#0&lt;/td&gt;
            &lt;td&gt;bsprev.png&lt;/td&gt;
            &lt;td&gt;WEBTEMPACCSRV.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;(obsolete) Records Center&lt;/td&gt;
            &lt;td&gt;OFFILE&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;OFFILE#0&lt;/td&gt;
            &lt;td&gt;strc.png&lt;/td&gt;
            &lt;td&gt;WEBTEMPOFFILE.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;Shared Services Administration Site&lt;/td&gt;
            &lt;td&gt;OSRV&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;OSRV#0&lt;/td&gt;
            &lt;td&gt; &lt;/td&gt;
            &lt;td&gt;WEBTEMPOSRV.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;PerformancePoint&lt;/td&gt;
            &lt;td&gt;PPMASite&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;OSRV#0&lt;/td&gt;
            &lt;td&gt;rchome.png&lt;/td&gt;
            &lt;td&gt;WEBTEMPOSRV.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;SharePoint Portal Server Site&lt;/td&gt;
            &lt;td&gt;SPS&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;SPS#0&lt;/td&gt;
            &lt;td&gt;spshome.gif&lt;/td&gt;
            &lt;td&gt;WEBTEMPSPS.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;SharePoint Portal Server Personal Space&lt;/td&gt;
            &lt;td&gt;SPSPERS&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;SPSPERS#0&lt;/td&gt;
            &lt;td&gt;perstemp.gif&lt;/td&gt;
            &lt;td&gt;WEBTEMPSPS.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;Contents Area Template&lt;/td&gt;
            &lt;td&gt;SPSTOC&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;SPSTOC#0&lt;/td&gt;
            &lt;td&gt;spshome.gif&lt;/td&gt;
            &lt;td&gt;WEBTEMPSPS.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;Topic Area Template&lt;/td&gt;
            &lt;td&gt;SPSTOPIC&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;SPSTOPIC#0&lt;/td&gt;
            &lt;td&gt;spshome.gif&lt;/td&gt;
            &lt;td&gt;WEBTEMPSPS.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;News Site&lt;/td&gt;
            &lt;td&gt;SPSNEWS&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;SPSNEWS#0&lt;/td&gt;
            &lt;td&gt;spshome.gif&lt;/td&gt;
            &lt;td&gt;WEBTEMPSPS.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;Publishing Site&lt;/td&gt;
            &lt;td&gt;BLANKINTERNET&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;BLANKINTERNET#0&lt;/td&gt;
            &lt;td&gt;stpb.png&lt;/td&gt;
            &lt;td&gt;WEBTEMPSPS.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;Press Releases Site&lt;/td&gt;
            &lt;td&gt;BLANKINTERNET&lt;/td&gt;
            &lt;td&gt;1&lt;/td&gt;
            &lt;td&gt;BLANKINTERNET#1&lt;/td&gt;
            &lt;td&gt;stpb.png&lt;/td&gt;
            &lt;td&gt;WEBTEMPSPS.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;News Site&lt;/td&gt;
            &lt;td&gt;SPSNHOME&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;SPSNHOME#0&lt;/td&gt;
            &lt;td&gt;template_news.png&lt;/td&gt;
            &lt;td&gt;WEBTEMPSPS.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;Site Directory&lt;/td&gt;
            &lt;td&gt;SPSSITES&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;SPSSITES#0&lt;/td&gt;
            &lt;td&gt;template_site_dir.png&lt;/td&gt;
            &lt;td&gt;WEBTEMPSPS.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;Community Area Template&lt;/td&gt;
            &lt;td&gt;SPSCOMMU&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;SPSCOMMU#0&lt;/td&gt;
            &lt;td&gt;spshome.gif&lt;/td&gt;
            &lt;td&gt;WEBTEMPSPS.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;Report Center&lt;/td&gt;
            &lt;td&gt;SPSREPORTCENTER&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;SPSREPORTCENTER#0&lt;/td&gt;
            &lt;td&gt;strp.png&lt;/td&gt;
            &lt;td&gt;WEBTEMPSPS.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;Collaboration Portal&lt;/td&gt;
            &lt;td&gt;SPSPORTAL&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;SPSPORTAL#0&lt;/td&gt;
            &lt;td&gt; &lt;/td&gt;
            &lt;td&gt;WEBTEMPSPS.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;Profiles&lt;/td&gt;
            &lt;td&gt;PROFILES&lt;/td&gt;
            &lt;td&gt;0&lt;/td&gt;
            &lt;td&gt;PROFILES#0&lt;/td&gt;
            &lt;td&gt; &lt;/td&gt;
            &lt;td&gt;WEBTEMPSPS.XML&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
            &lt;td&gt;Basic Search Center&lt;/td&gt;
            &lt;td&gt;SRCHCENTERLITE&lt;/td&gt;
            &lt;td&gt;1&lt;/td&gt;
            &lt;td&gt;SRCHCENTERLITE#1&lt;/td&gt;
            &lt;td&gt;template_srch_center_lite.png&lt;/td&gt;
            &lt;td&gt;WEBTEMPOSRV.XML&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tbody&gt;
&lt;/table&gt;
&lt;h3&gt;Leverage this information to create SharePoint sites programmatically &lt;/h3&gt;
&lt;p&gt;The concatenated template and configuration string is used when creating sites programmatically. See the last line of code below for an example.&lt;/p&gt;
&lt;div id="codeSnippetWrapper"&gt;
&lt;div style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px" id="codeSnippet"&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: white; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;&lt;span style="COLOR: #008000"&gt;//Create a new SPSite object corresponding to your top level site&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;SPSite newSite = &lt;span style="COLOR: #0000ff"&gt;new&lt;/span&gt; SPSite(&lt;span style="COLOR: #006080"&gt;"http://dev"&lt;/span&gt;);&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: white; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt; &lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;&lt;span style="COLOR: #008000"&gt;//Create a new SPWeb object from the newSite object&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: white; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;SPWeb newWeb = newSite.OpenWeb();&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt; &lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: white; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;&lt;span style="COLOR: #008000"&gt;//Return the collection of sub sites&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;SPWebCollection subSites = newWeb.Webs;&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: white; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt; &lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;&lt;span style="COLOR: #008000"&gt;//Create a new sub site by adding it to the sub site collection&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: white; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;&lt;span style="COLOR: #008000"&gt;//The new site will have the following metadata:&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;&lt;span style="COLOR: #008000"&gt;//Full URL once created: http://dev/newsite&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: white; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;&lt;span style="COLOR: #008000"&gt;//Name: New Site&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;&lt;span style="COLOR: #008000"&gt;//Description: This is the description for my new site.&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: white; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;&lt;span style="COLOR: #008000"&gt;//Local ID set to 1033 – English&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;&lt;span style="COLOR: #008000"&gt;//Site Template: Team Site&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: white; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;&lt;span style="COLOR: #008000"&gt;//Use Unique Permissions: True&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;
&lt;pre style="BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: #f4f4f4; MARGIN: 0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: &amp;quot;Courier New&amp;quot;, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; PADDING-TOP: 0px"&gt;SPWeb newSubWeb = subSites.Add(&lt;span style="COLOR: #006080"&gt;"newsite"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"New Site"&lt;/span&gt;, &lt;span style="COLOR: #006080"&gt;"This is the description for my new site."&lt;/span&gt;, 1033, &lt;span style="COLOR: #006080"&gt;"STS#0"&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;true&lt;/span&gt;, &lt;span style="COLOR: #0000ff"&gt;false&lt;/span&gt;);&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Once again, 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 public beta 2 version of SharePoint Server 2010.  I’ll update this post once SharePoint 2010 goes RTM.&lt;/p&gt;&lt;img src="http://www.toddbaginski.com/blog/aggbug/59.aspx" width="1" height="1" /&gt;&lt;img src="http://feeds.feedburner.com/~r/ToddBaginski/~4/SM6ING973CE" height="1" width="1"/&gt;</description>
            <dc:creator>Todd Baginski</dc:creator>
            <guid isPermaLink="false">http://www.toddbaginski.com/blog/archive/2009/11/20/which-sharepoint-2010-site-template-is-right-for-me.aspx</guid>
            <pubDate>Fri, 20 Nov 2009 07:00:00 GMT</pubDate>
            <wfw:comment>http://www.toddbaginski.com/blog/comments/59.aspx</wfw:comment>
            <comments>http://www.toddbaginski.com/blog/archive/2009/11/20/which-sharepoint-2010-site-template-is-right-for-me.aspx#feedback</comments>
            <slash:comments>4</slash:comments>
            <wfw:commentRss>http://www.toddbaginski.com/blog/comments/commentRss/59.aspx</wfw:commentRss>
            <trackback:ping>http://www.toddbaginski.com/blog/services/trackbacks/59.aspx</trackback:ping>
        <feedburner:origLink>http://www.toddbaginski.com/blog/archive/2009/11/20/which-sharepoint-2010-site-template-is-right-for-me.aspx</feedburner:origLink></item>
    </channel>
</rss>
