次の方法で共有


Templates 要素 (Site)

適用対象: SharePoint 2016 |SharePoint Foundation 2013 |SharePoint Online |SharePoint Server 2013

展開環境内でサイトをインスタンス化する際に利用可能なサイト定義のコレクションを指定する、WebTemp*.xml ファイル内の最上位の要素。

<Templates>
    <Template
      ID = "Text"
     Name = "Text">
    <Configuration/>
    ...
    </Template>
  ...
</Templates>

要素と属性

以下のセクションで、属性、子要素、親要素について説明します。

属性

なし

子要素

親要素

None

Occurrences

  • 最小 : 0
  • 最大 : 1

次の例は、SharePoint Foundation の %ProgramFiles%\Common Files\Microsoft Shared\Web サーバー拡張機能\15\TEMPLATE\1033 フォルダーにインストール されている既定の WebTemp.xmlファイルで定義されているテンプレートを示しています。

<?xml version="1.0" encoding="utf-8"?>
<!-- _lcid="1033" _version="14.0.4762" _dal="1" -->
<!-- _LocalBinding -->
<Templates xmlns:ows="Microsoft SharePoint">
 <Template Name="GLOBAL" SetupPath="global" ID="0">
    <Configuration ID="0" Title="Global template" Hidden="TRUE" ImageUrl="" Description="This template is used for initializing a new site." >   </Configuration>
 </Template>
 <Template Name="STS" ID="1">
    <Configuration ID="0" Title="Team Site" Hidden="FALSE" ImageUrl="/_layouts/images/stts.png" Description="A site for teams to quickly organize, author, and share information. It provides a document library, and lists for managing announcements, calendar items, tasks, and discussions." DisplayCategory="Collaboration" >    </Configuration>
    <Configuration ID="1" Title="Blank Site" Hidden="FALSE" ImageUrl="/_layouts/images/stbs.png" Description="A blank site for you to customize based on your requirements." DisplayCategory="Collaboration" AllowGlobalFeatureAssociations="False" >    </Configuration>
    <Configuration ID="2" Title="Document Workspace" Hidden="FALSE" ImageUrl="/_layouts/images/stdw.png" Description="A site for colleagues to work together on a document. It provides a document library for storing the primary document and supporting files, a tasks list for assigning to-do items, and a links list for resources related to the document." DisplayCategory="Collaboration" >    </Configuration>
 </Template>
 <Template Name="MPS" ID="2">
    <Configuration ID="0" Title="Basic Meeting Workspace" Hidden="FALSE" ImageUrl="/_layouts/images/stmw.png" Description="A site to plan, organize, and capture the results of a meeting. It provides lists for managing the agenda, meeting attendees, and documents." DisplayCategory="Meetings" SupportsMultilingualUI="FALSE" >    </Configuration>
    <Configuration ID="1" Title="Blank Meeting Workspace" Hidden="FALSE" ImageUrl="/_layouts/images/stbm.png" Description="A blank meeting site for you to customize based on your requirements." DisplayCategory="Meetings" SupportsMultilingualUI="FALSE" >    </Configuration>
    <Configuration ID="2" Title="Decision Meeting Workspace" Hidden="FALSE" ImageUrl="/_layouts/images/stdm.png" Description="A site for meetings that track status or make decisions. It provides lists for creating tasks, storing documents, and recording decisions." DisplayCategory="Meetings" SupportsMultilingualUI="FALSE" >    </Configuration>
    <Configuration ID="3" Title="Social Meeting Workspace" Hidden="FALSE" ImageUrl="/_layouts/images/stsm.png" Description="A site to plan social occasions. It provides lists for tracking attendees, providing directions, and storing pictures of the event." DisplayCategory="Meetings" SupportsMultilingualUI="FALSE" >    </Configuration>
    <Configuration ID="4" Title="Multipage Meeting Workspace" Hidden="FALSE" ImageUrl="/_layouts/images/stmm.png" Description="A site to plan, organize, and capture the results of a meeting. It provides lists for managing the agenda and meeting attendees in addition to two blank pages for you to customize based on your requirements." DisplayCategory="Meetings" SupportsMultilingualUI="FALSE" >    </Configuration>
 </Template>
 <Template Name="CENTRALADMIN" ID="3">
    <Configuration ID="0" Title="Central Admin Site" Hidden="TRUE" ImageUrl="" Description="A site for central administration. It provides webpages and links for application and operations management." >   </Configuration>
 </Template>
 <Template Name="WIKI" ID="4">
    <Configuration ID="0" Title="Wiki Site" Hidden="TRUE" ImageUrl="/_layouts/images/wikiprev.png" Description="A site for a community to brainstorm and share ideas. It provides webpages that can be quickly edited to record information and then linked together through keywords" DisplayCategory="Collaboration" >    </Configuration>
 </Template>
 <Template Name="BLOG" ID="9">
    <Configuration ID="0" Title="Blog" Hidden="FALSE" ImageUrl="/_layouts/images/stbg.png" Description="A site for a person or team to post ideas, observations, and expertise that site visitors can comment on." DisplayCategory="Collaboration" SupportsMultilingualUI="FALSE" >    </Configuration>
 </Template>
 <Template Name="SGS" SetupPath="SiteTemplates\sgs" ID="15">
    <Configuration ID="0" Title="Group Work Site" Hidden="FALSE" ImageUrl="/_layouts/images/stgb.png" Description="This template provides a groupware solution that enables teams to create, organize, and share information quickly and easily. It includes Group Calendar, Circulation, Phone-Call Memo, the Document Library and the other basic lists." DisplayCategory="Collaboration" >    </Configuration>
 </Template>
 <Template Name="TENANTADMIN" SetupPath="SiteTemplates\tenantadmin" ID="16">
    <Configuration ID="0" Title="Tenant Admin Site" Hidden="TRUE" ImageUrl="" Description="A site for tenant administration. It provides webpages and links for self-serve administration." >   </Configuration>
 </Template>
</Templates>