Tuesday, October 30, 2012

SharePoint 2010 root directory

In this blog we will discuss about SharePoint 2010 root directory.

In my previous articles we have discussed about Developer Dashboard, Difference between Team site and Publishing site in SharePoint 2010 and Client object model in SharePoint 2013.

You can also check out some SharePoint 2013 articles.

SharePoint stores some template files in a special directory on the local file system of each front-end Web server, which is know as SharePoint root directory. It is also know as 14 hive directory in SharePoint 2010 and 12 hive directory in MOSS 2007.

If SharePoint is installed in C drive then it usually will be in the below location:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14

For SharePoint foundation, it contains set of images, templates, features, and pages. But if you install SharePoint server then it contains images, templates, features, and pages and some template files which provides additional functionality apart from SharePoint Foundation.

Below is an image of a 14 hive directory of SharePoint server.

Below are some sub directory and the type of template files it contains:
/ISAPI:
This directory contains all the Web Services (.svc, .ashx, .asmx) as well as the required dlls for SharePoint like Microsoft.SharePoint.client.dll, Microsoft.SharePoint.dll etc.

/Resources:
 This directory contains all the Resource files (.resx). This is the ideal location to deploy your custom Resource files if you are using any.


/TEMPLATE/ADMIN:
 This directory contains Application pages used exclusively in Central Administration.

/TEMPLATE/CONTROLTEMPLATES:
This directory contains ASP.NET User Controls (.ascx) files, like user controls used in Visual Webpart.

/TEMPLATE/FEATURES:
 This directory contains Feature definition files (.xml).

/TEMPLATE/IMAGES:
This directory contains Images (.gif, .jpg, and .png) and if you have to use custom images then you can create a sub directory and put your custom images.

/TEMPLATE/LAYOUTS:
This directory contains Application pages (.aspx).

/TEMPLATE/LAYOUTS/1033/STYLES:
This directory contains all the default CSS Files (.css) files used in SharePoint. You can put custom css files in this directory.

/TEMPLATE/LAYOUTS/ClientBin:
This directory contains Silverlight components (.xap).

/TEMPLATE/SiteTemplates:
 This directory contains Site Definition files (onet.xml).

/TEMPLATE/XML:
 This directory contains Custom field type definition files (fdltype*.xml).

/LOGS:
This folder contains all the Log files maintain by SharePoint.

/Help:
This contains the help files.

No comments:

Post a Comment