我的组织有多个客户端。我们需要为每个客户端创建类似的站点集合(具有4个列表,几个必须为每个客户端的项目)。所以建议我创建1个网站集,然后备份这个和每个新客户端,以在创建新的网站集时恢复这一点;而不是用新列表创建新的地点。

  1. 我想以简单的话语,网站模板和站点定义之间有什么区别?

  2. 所以,当我们备份地点时,我们是否备份网站模板或站点定义?

有帮助吗?

解决方案

A site definition defines a unique SharePoint site. Site definition is a combination of multiple files like .xml, .aspx, .ascx, and .master page, .gif , .doc etc and are stored in C:\ProgramFiles\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\SiteTemplates directory.

But Site Templates are created from an existing site and are stored in Content database in the Sandboxed Solution gallery.

For more information check following links,

http://sharepointdevindia1.blogspot.in/2013/04/difference-between-site-template-and.html

http://www.enjoysharepoint.com/Articles/Details/differences-between-site-definition-and-site-template-in-sharepoint-2010-20657.aspx

其他提示

Site Templates : Are snapshots of sites at a point in time. When a user customizes a site from the UI or SPD, the custom template consists of the difference between the original state of the site (determined by its definition) and the state of the site or list when the custom template is generated. Custom templates remain tied to a particular site definition (for example, the site definition for SharePoint Web sites or Meeting Workspace Web sites), so that if the site definition is not present or is changed, the custom template cannot work.

Site Definitions : As the name implies, A Site definition is "core definition of a site" . Each site definition emerges through a combination of files that are placed in the 12 hive of WFE during installation of SharePoint. Site definition files include .xml, .aspx, .ascx, and .master page files, as well as document template files (.dot, .htm, and so on), and content files (.gif, .doc, and so on).

Site definition is a template you creating it using codes.

Site template is its existing template already Microsoft provided for us in the SharePoint.

许可以下: CC-BY-SA归因
scroll top