Introduction: In this article we will be seeing about feature versioning and upgrading in SharePoint 2010. Feature Versioning and upgrading is a new feature in SharePoint 2010. Whenever a feature is activated at a specified scope in SharePoint, a feature instance is created that is associated with the current version of that feature. If a new and higher version of the feature is deployed, SharePoint 2010 detects that the associated feature instance needs an upgrade. We can make use of Version attribute on the Feature element in SharePoint 2010. FeatureVersioningandUpgrade_0_0_0_0.wsp (Feature Version 0.0.0.0): FeatureVersioningandUpgrade_0_0_0_0.wsp is a sandbox solution which will be deployed to the solution gallery in the SharePoint site. This has a feature, which will add a custom column (CustomField_0_0_0_0 to the site columns) on activation. FeatureVersioningandUpgrade_1_0_0_0.wsp (Feature Version 1.0.0.0): This will contain upgraded feature which will add CustomField_0_0_0_0 and CustomField_1_0_0_0. Steps Involved:
Upgrade the feature: Here I am going to upgrade the feature by adding one more custom field CustomField_1_0_0_0 and change the version from 0.0.0.0 to 1.0.0.0.
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: