1

How can I hide a Web-scoped feature until a specific Site-scoped feature has been activated?

1 Answer 1

2

You cannot define feature dependencies cross scoped according to Activation Dependencies and Scope. In theory you can change the visibility once the site collection feature was enabled but you need to do the same for ever sub site that will be created.

From my point of view the best way would be if you check in a feature event receiver of the web scoped feature if the site collection feature is enabled.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.