In this article we will explore the term "Features" in SharePoint.What is a Feature?The term Feature represents a functional component that can be activated in SharePoint. A Feature provides the following:
For example, the Document ID Feature provides new Document Management functionalities to SharePoint. We can also create our own features and deploy to the customer site. A sample Features screen is shown below:Scope of a FeatureThe scope of the feature is one of the following:
Feature EventsA feature supports the following events:
Feature ElementsA feature contains deployable elements like:
Activating Site Collection FeaturesA Site Collection Feature can be activated from the Site Actions > Site Collection Features link as shown below:Activating Site FeaturesA Site Feature can be activated from the Site Actions > Manage Site Features link as shown below:Creating Features through Visual StudioWe can create Features using Visual Studio. Whenever a new SharePoint project is created a Features folder is automatically added.Once a Web Part or Workflow has been added a new Feature entry is added in the preceding 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 StaplingThe term Feature Stapling is an attachment of a Feature to all new instances of a particular Site Definition. This functionality is achieved without modifying the site definition. Feature Stapling is also called Feature Site Template Association.Referenceshttp://tinyurl.com/sp2010-feature SummaryIn this article we have explored the "Features" feature in SharePoint. Features provide a convenient way in deployment, version, and dependency management.
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: