HansBaumann.net
"No se cómo será la tercera guerra mundial, sólo se que la cuarta será con piedras y lanzas" (Albert Einstein)

Lista de plantillas para crear una colección de sitios desde línea de comandos o PowerShell en MOSS

25/07/2013 18:00:00

Estoy ahora mismo intentando crear unos scripts para provisionar toda una granja de SharePoint 2007, y quería crear la famosa colección de sitios de colaboración, pero no tenía el ID de la plantilla para crearla. Así que con este pequeño script de PowerShell:

[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")

$site = New-Object Microsoft.SharePoint.SPSite("http://portal.hanslab.local")

$site.GetWebTemplates(1033) | Select Name, Description

$site.Dispose()

Obtengo la lista de las plantillas que necesito. Pero como veis, es necesario haber creado una colección de sitios previamente y a mi no me da la gana de hacerlo así que me los dejo listados aquí para futuros despliegues.

Name        : GLOBAL#0
Description : This template is used for initializing a new site.


Name        : STS#0
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.


Name        : STS#1
Description : A blank site for you to customize based on your requirements.


Name        : STS#2
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.


Name        : MPS#0
Description : A site to plan, organize, and capture the results of a meeting. It provides lists for managing the agenda, meeting attendees, and documents.


Name        : MPS#1
Description : A blank meeting site for you to customize based on your requirements.


Name        : MPS#2
Description : A site for meetings that track status or make decisions. It provides lists for creating tasks, storing documents, and recording decisions.


Name        : MPS#3
Description : A site to plan social occasions. It provides lists for tracking attendees, providing directions, and storing pictures of the event.


Name        : MPS#4
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.


Name        : CENTRALADMIN#0
Description : A site for central administration. It provides Web pages and links for application and operations management.


Name        : WIKI#0
Description : A site for a community to brainstorm and share ideas. It provides Web pages that can be quickly edited to record information and then linked together through keywords


Name        : BLOG#0
Description : A site for a person or team to post ideas, observations, and expertise that site visitors can comment on.


Name        : BDR#0
Description : A site to centrally manage documents in your enterprise.


Name        : OFFILE#0
Description : This template creates a site designed for records management. Records managers can configure the routing table to direct incoming files to specific locations. The site prevents records from being modified after they are added to the repository.


Name        : OFFILE#1
Description : This template creates a site designed for records management. Records managers can configure the routing table to direct incoming files to specific locations. The site prevents records from being modified after they are added to the repository.


Name        : OSRV#0
Description : This template creates a site for administering shared services


Name        : SPS#0
Description : This template is obsolete.


Name        : SPSPERS#0
Description : This web template defines a Personal Space for an individual participating on a SharePoint Portal.


Name        : SPSMSITE#0
Description : A site for delivering personalized views, data, and navigation from this site collection into My Site. It includes personalization specific Web Parts and navigation that is optimized for My Site sites.


Name        : SPSTOC#0
Description : This template is obsolete.


Name        : SPSTOPIC#0
Description : This template is obsolete.


Name        : SPSNEWS#0
Description : This template is obsolete.


Name        : CMSPUBLISHING#0
Description : A blank site for expanding your Web site and quickly publishing Web pages. Contributors can work on draft versions of pages and publish them to make them visible to readers. The site includes  document and image libraries for storing Web publish
              ing assets.


Name        : BLANKINTERNET#0
Description : This template creates a site for publishing Web pages on a schedule, with workflow features enabled.  By default, only Publishing subsites can be created under this site. A Document and Picture Library are included for storing Web publishing ass
              ets.


Name        : BLANKINTERNET#1
Description : This template creates the Press Releases subsite for an Internet-facing corporate presence website.


Name        : BLANKINTERNET#2
Description : A site for publishing Web pages on a schedule by using approval workflows. It includes document and image libraries for storing Web publishing assets. By default, only sites with this template can be created under this site.


Name        : SPSNHOME#0
Description : A site for publishing news articles and links to news articles. It includes a sample news page and an archive for storing older news items.


Name        : SPSSITES#0
Description : A site for listing and categorizing important sites in your organization. It includes different views for categorized sites, top sites, and a site map.


Name        : SPSCOMMU#0
Description : This template is obsolete.


Name        : SPSREPORTCENTER#0
Description : A site for creating, managing, and delivering Web pages, dashboards, and key performance indicators that communicate metrics, goals, and business intelligence information.


Name        : SPSPORTAL#0
Description : A starter site hierarchy for an intranet divisional portal. It includes a home page, a News site, a Site Directory, a Document Center, and a Search Center with Tabs. Typically, this site has nearly as many contributors as  readers and is used to
               host team sites.


Name        : SRCHCEN#0
Description : A site for delivering the search experience. The welcome page includes a search box with two tabs: one for general searches, and another for searches for information about people. You can add and customize tabs to focus on other search scopes or
               result types.


Name        : PROFILES#0
Description : This template creates a profile site that includes page layout with zones


Name        : BLANKINTERNETCONTAINER#0
Description : A starter site hierarchy for an Internet-facing site or a large intranet portal. This site can be customized easily with distinctive branding. It includes a home page, a sample press releases subsite, a Search Center, and a login page. Typically
              , this site has many more readers than contributors, and it is used to publish Web pages with approval workflows.


Name        : SPSMSITEHOST#0
Description : A site used for hosting personal sites (My Sites) and the public People Profile page. This template needs to be provisioned only once per Shared Service Provider, please consult the documentation for details.


Name        : SRCHCENTERLITE#0
Description : A site for delivering the search experience. The site includes pages for search results and advanced searches.


Name        : SRCHCENTERLITE#1
Description : The Search Center template creates pages dedicated to search. The main welcome page features a simple search box in the center of the page. The template includes a search results and an advanced search page. This Search Center will not appear in
               navigation.

Si lo queréis en vuestro idioma, simplemente ejecutar el script pero con un sitio creado el idioma que se quiera y cambiar el parámetro 1033 por el que corresponda de esta lista. Ala, a disfrutar.

Comentarios

¿Cual es el resultado de sumar 2 y 1?

Autor :

Correo Electronico (opcional):

Texto:

Agregar comentario
Inicio | Perfil | Publicaciones | Contacto | Mapa del sitio
2009 | webmaster
Valid XHTML 1.0 Transitional    ¡CSS Válido!