SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have created a new site defenition and I would like to set a feature dependency. There are a attribute that is called VisibilityFeatureDependency. As I understand, if I set this attribute, my template is shouwn only when the dependency feature is acivated. But it works only with one feature. My question is if I would like to have several feature dependencies, how could I do this?

I do not like to write own provision provider.

share|improve this question
up vote 0 down vote accepted

You can't use the several feature dependencies using VisibilityFeatureDependency but the only alternative is to use custom provision provider.

share|improve this answer

The best solution for my question is

  1. Create a new feature
  2. Open feature dependencies for the new created feature
  3. Add several feature dependency properties
  4. Set id of the new created feature to VisibilityFeatureDependency property
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.