Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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.