SharePointAds TextOnly

Friday 25 December 2009

Sharepoint: How to manage Feature activation dependency?

In Sharepoint need to manage the dependencies in different features

For exp: Need to activate Feature A before activation of Feature B, So add below lines in Feature.xml file in Feature B before < / Feature > tag

< ActivationDependencies >

< ! -- Feature A’s ID - - >

< ActivationDependency FeatureId="D4000102-848E-4434-A1C5-C60C862F429C" / >

< / ActivationDependencies >

Refere feature A’s ID.

(*Please remove spaces in tags..)