.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Melody Anderson

Home >> Articles >> SharePoint >> Post New Resource Bookmark and Share   

 Subscribe to Articles

Features in SharePoint

Posted By:Jean Paul       Posted Date: June 30, 2013    Points: 200    Category: SharePoint    URL: http://www.dotnetspark.com  

In this article we will explore the Features or feature in SharePoint. Features provide a convenient way in deployment, version, and dependency management.


In this article we can explore the term 'Features' in SharePoint.

What is a Feature?

The term Feature represents a functional component that can be activated in SharePoint.  Feature provides the following:
1.  New Functionality
2.  Site Customizations
For example, the Document ID Feature provides new Document Management functionalities to SharePoint.  We can also create our own features and deploy the customer site.  A sample Features screen is shown below:

Scope of a Feature

The scope of the feature is given as:
·  Web
·  Site Collection
·  Web Application
·  Farm

Feature Events

A feature supports the following events:
·  Installing
·  Uninstalling
·  Activating
·  Deactivating

Feature Elements

A feature contains deployable elements like:
·  Menu Commands
·  Toolbar Buttons
·  Web Parts
·  Workflows
·  Event Handlers
·  Page Definitions
·  List Definitions
·  Templates

Activating Site Collection Features

A Site Collection Feature can be activated from the Site Actions > Site Collection Features link as shown below:

Activating Site Features

A Site Feature can be activated from the Site Actions > Manage Site Features link as shown below:

Creating Features through Visual Studio

We can create Features through Visual Studio.  Whenever a new SharePoint project is created a Features folder is automatically added.

Once adding a Web Part or Workflow a new Feature entry is added in the above folder.

In the Web Parts and Workflows chapters we can see more usage of Features.
Note: You need to install the SharePoint Project Templates for Visual Studio 2010.

Feature Stapling

The term Feature Stapling is attachment of a Feature to all new instances of particular Site Definition.   This functionality is achieved without modifying the site definition.  Feature Stapling is also called Feature Site Template Association.



In this article we have explored the 'Features' feature in SharePoint.  Features provide a convenient way in deployment, version, and dependency management.

 Subscribe to Articles


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend