Follow in Twitter & Facebook

Like in Facebook

Powered By Blogger Widgets

Free Download

FREE Tools

Monday, January 23, 2012

Feature Definition in SharePoint 2010.

A feature definition provides a mechanism for adding elements to a target site or site collection through a process known as feature activation. The types of elements that can be added to a site include menu commands,link commands, page templates, page instances, list definitions, list instances, event handlers, and workflows.

Physically, a feature definition is implemented with a set of files that are deployed within a dedicated directory created inside the FEATURES directory. More specifically, a feature’s directory contains one or more XML-based files that contain Collaborative Application Markup Language (CAML). The only file required for every feature definition is the feature manifest file, which must be named feature.xml and must be placed at the root of the feature’s directory.

A feature definition often contains one or more XML files known as element manifests that define the elements that make up the feature definition.

The directory for a feature definition can also contain several other types of files for elements such as list definitions and page templates as well as other kinds of resources, such as image files, Cascading Style Sheets (CSS) files, and JavaScript files.

0 on: "Feature Definition in SharePoint 2010."