What is Features ?
Features provide a mechanism for defining site elements and adding them to a target site or site collection through a process known as feature activation.
The element types can be defined by a feature include :
- menu commands,
- link commands,
- page templates,
- page instances,
- list definitions,
- list instances,
- event handlers
Features are store on file system in following location with Feature.XML and Elements.XML.
Location :C:\Program Files\Common Files\microsoft shared\Web Server Extensions\14\TEMPLATE\FEATURES\
Feature.XML contains following parameters like s such as Id,
Title, Description, Version, Scope, Hidden and ImageUrl :
Description=”A custom menu item added using a feature”
<UrlAction Url=”http://msdn.microsoft.com” />
Feature will activate depnds on scop defined in feature.xml.