Archive

Posts Tagged ‘Features’

SharePoint 2010 improvements to the Feature Framework and Solution Packaging

 

Feature improvementsSolution Changes
  • Feature Versioning and Upgrade
  • Activation Dependency Options
  • New Events
  • Workflow Association
  • Property Bag
  • UI Version
  • Web Templates
  • New custom action options
    • Farm solutions / full trust solutions
      • Admin deployed solutions onto farm member servers
    • Sandbox solutions
      • End-user submitted solution
      • Features deployed to database – usable in site collection level
    • Solution dependencies
    • Application Resource Files
    • Solution Upgrade

    Get the Flash Player to see this content.

    March 4th, 2010 Neal McFee No comments

    Categories: SharePoint 2010 Tags: ,

    New Feature Receiver Method ~ SPFeatureReceiver.FeatureUpgrading

    Namespace: Microsoft.SharePoint
    Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
    Available in Sandboxed Solutions: Yes

      Syntax

    Visual Basic (Declaration)

    Public Overridable Sub FeatureUpgrading ( _
        properties As SPFeatureReceiverProperties, _
        upgradeActionName As String, _
        parameters As IDictionary(Of String, String) _
    )

    Visual Basic (Usage)

    Dim instance As SPFeatureReceiver
    Dim properties As SPFeatureReceiverProperties
    Dim upgradeActionName As String
    Dim parameters As IDictionary(Of String, String)
    
    instance.FeatureUpgrading(properties, _
        upgradeActionName, parameters)

    C#

    public virtual void FeatureUpgrading(
        SPFeatureReceiverProperties properties,
        string upgradeActionName,
        IDictionary<string, string> parameters
    )
    Parameters
    properties
    Type: Microsoft.SharePoint..::.SPFeatureReceiverProperties
    upgradeActionName
    Type: System..::.String
    parameters
    Type: System.Collections.Generic..::.IDictionary<(Of <(String, String>)>)

     

    Link – MSDN original

    February 8th, 2010 Neal McFee No comments