Latest Posts

What is Feature Dependency?

Definition: There may be situation when your feature is dependent on any other feature for functionality or data. In this situation, you can mark that other feature as dependency for your feature.

You can add other feature in your solution as dependency so that before activating your feature you can make sure that other feature is activated.

Add Dependency:

  • Open Project >> Open Feature in design mode
  • Expand the Feature Activation Dependencies node. Click on Add button
  • In the Add Feature Activation Dependencies dialog box, choose the Add a dependency on features in the solution option, choose the title of the feature that you want to add as a dependency, and then choose the Add button.
  • Add more than one feature by choosing multiple titles while pressing Ctrl

Add Custom Dependency:

  • Open Project >> Open Feature in design mode
  • Expand the Feature Activation Dependencies node. Click on Add button.
  • In the Add Feature Activation Dependencies dialog box, choose the Add a custom dependency option,
  • In Feature ID text box, enter the GUID of the feature that you want to mark as dependency.

We value your Feedback:

Page URL:

Name:

Email:


Suggestion:

© 2024 Code SharePoint