Compartilhar via


Elemento DocumentTemplates (site)

Contém a coleção de modelos biblioteca documento que estão disponível para criar bibliotecas documento. Essa coleção é listada na caixa drop-down list Template Type na página **** New Document Library.

                    
                      
<DocumentTemplates>
</DocumentTemplates>
                    

Atributos

Atributo Descrição

Nenhum

N/A

Elementos filho

DocumentTemplate

Elementos pai

Projeto

Ocorrências

No mínimo: 0

Máximo: 1

Exemplo

O seguinte trecho do arquivo Onet.xml Onet.xml para o padrão definição site Windows SharePoint Services 3.0 wssversion3short ( STS) define os modelos documento disponível Por padrão.

                    <DocumentTemplates>
  <DocumentTemplate Path="STS" name="" Displayname="$Resources:core,doctemp_None;" Type="100" Default="FALSE" Description="$Resources:core,doctemp_None_Desc;" />
  <DocumentTemplate Path="STS" Displayname="$Resources:core,doctemp_Word;" Type="101" Default="TRUE" Description="$Resources:core,doctemp_Word_Desc;">
    <DocumentTemplateFiles>
      <DocumentTemplateFile name="doctemp\word\wdtmpl.doc" Targetname="Forms/template.doc" Default="TRUE" />
    </DocumentTemplateFiles>
  </DocumentTemplate>
  <DocumentTemplate Path="STS" Displayname="$Resources:core,doctemp_FP;" Type="102" Description="$Resources:core,doctemp_FP_Desc;">
    <DocumentTemplateFiles>
      <DocumentTemplateFile name="doctemp\fp\fptmpl.htm" Targetname="Forms/template.htm" Default="TRUE" />
    </DocumentTemplateFiles>
  </DocumentTemplate>
  <DocumentTemplate Path="STS" Displayname="$Resources:core,doctemp_Excel;" Type="103" Description="$Resources:core,doctemp_Excel_Desc;">
    <DocumentTemplateFiles>
      <DocumentTemplateFile name="doctemp\xl\xltmpl.xls" Targetname="Forms/template.xls" Default="TRUE" />
    </DocumentTemplateFiles>
  </DocumentTemplate>
  <DocumentTemplate Path="STS" Displayname="$Resources:core,doctemp_Powerpoint;" Type="104" Description="$Resources:core,doctemp_Powerpoint_Desc;">
    <DocumentTemplateFiles>
      <DocumentTemplateFile name="doctemp\ppt\pptmpl.pot" Targetname="Forms/template.pot" Default="TRUE" />
    </DocumentTemplateFiles>
  </DocumentTemplate>
  <DocumentTemplate Path="STS" Displayname="$Resources:core,doctemp_OneNote;" Type="111" Description="$Resources:core,doctemp_OneNote_Desc;">
    <DocumentTemplateFiles>
      <DocumentTemplateFile name="doctemp\onenote\template.one" Targetname="Forms/template.one" Default="TRUE" />
    </DocumentTemplateFiles>
  </DocumentTemplate>
  <DocumentTemplate Path="STS" Displayname="$Resources:core,doctemp_DataConnection;" Type="130" Description="$Resources:core,doctemp_DataConnection_Desc;">
    <DocumentTemplateFiles>
      <DocumentTemplateFile name="doctemp\dcl\template.odc" Targetname="Forms/template.odc" Default="TRUE" />
    </DocumentTemplateFiles>
  </DocumentTemplate>
  <DocumentTemplate Path="STS" Displayname="$Resources:core,doctemp_BasicPage;" Type="105" Description="$Resources:core,doctemp_BasicPage_Desc;">
    <DocumentTemplateFiles>
      <DocumentTemplateFile name="doctemp\blankpgs\_basicpage.htm" Targetname="Forms/_basicpage.htm" Default="TRUE" />
    </DocumentTemplateFiles>
  </DocumentTemplate>
  <DocumentTemplate Path="STS" Displayname="$Resources:core,doctemp_WebPartPage;" Type="106" Description="$Resources:core,doctemp_WebPartPage_Desc;">
    <DocumentTemplateFiles>
      <DocumentTemplateFile name="doctemp\smartpgs\_webpartpage.htm" Targetname="Forms/_webpartpage.htm" Default="TRUE" />
    </DocumentTemplateFiles>
  </DocumentTemplate>
  <DocumentTemplate XMLForm="TRUE" Path="STS" Displayname="$Resources:core,doctemp_BlankForm;" Type="1000" Default="TRUE" Description="$Resources:core,doctemp_BlankForm_Desc;">
    <DocumentTemplateFiles>
      <DocumentTemplateFile name="doctemp\xmlforms\blank\template.xml" Targetname="Forms/template.xml" Default="TRUE" />
    </DocumentTemplateFiles>
  </DocumentTemplate>
</DocumentTemplates>