Skip to main content

About SharePoint Site Definitions



A SharePoint site definition consists of CAML elements that describe the different parts of the site and how they relate to each other. The topmost element is the 'template' element which is declared in the special file called WEBTEMP, which contains further template configuration elements. Each of the template configuration elements defined in WEBTEMP file references associated site definition configuration elements in the ONET.xml file.
When talking about site definitions it is important to understand the difference between Site templates and Site definitions. When users create a new SharePoint site or site collection through user interface, they are actually using one of the available site templates as defined in the WEBTEMP.[name].xml file, where [name] is the visible template name. The site definiton configuration elements are defined in the configuration elements in the ONET.xml.

Popular posts from this blog

Invalid Associated Content Type

Many of you who are playing with SharePoint might have seen this error message before (:) ..."Invalid Associated Content Type". while working on one my Sharepoint Projects , i came accross this error of Invalid Associated Content Type, i first verified the Content Type that was associated with the Page layout and found everything was fine except one. The mistake i was doing was, not adding the following to within the Page Layout Content Type As soon i add the Content Type in , proper content Type's name apppears in place of (Invalid Associated Content Type).

Tracing service in Windows SharePoint Services

recently i got to know about the SharePoint's Tracing service. Tracing Service is used by Windows SharePoint Services 3.0 to manage trace output. Tracing is usually needed to debug things in SharePoint....if you are not actively and regularly debugging things, you may not need this and can stop the service, as the logs occupy a significant size on the system (.....in GB's). Read more ..