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 feature in visual studio and scoped it to web. I have deployed this to a site collection. When i look at the site collections features it appears there.

Why is this?

I thought this would only appear in subsites of that site collection (because the scope is set to web).

share|improve this question
what does the feature contains? – Falak Mahmood Nov 22 '12 at 19:24
up vote 4 down vote accepted

Take a read of this first off: Previous stack exchange answer

Web targets the site, site targets the site collection etc etc.

So web is only available on the site you point it at, be it the site collection or a sub-site and only in that location. A site collection is just a special sort of site.

  • Web: At the target site/site collection only
  • Site: At the entire site collection and sub-sites
  • WebApplication: At all Site Collections and sub-sites in target WebApp
  • Farm: At all WebApplications, Site Collections and sub-sites

So if you want to target just sub-sites you need to create a deployment script that just loops through each sub-site and deploys at web level.

share|improve this answer
+1, I think I have nailed it pretty much in my earlier post. Thanks for referring it ;) – Falak Mahmood Nov 22 '12 at 22:15

I think you are misundestanding the difference between the Site collection and the root web.

The Site collection is the technical "tree" of SPWebs. At the root, there is also a SPWeb at root.

You will see your features at :

  • http://server/site/siteCollection/_layouts/ManageFeatures.aspx for Web scoped features
  • http://server/site/siteCollection/_layouts/ManageFeatures.aspx?Scope=Site for Site scoped features

This image (from a previous version of SharePoint, but it's still valid) may help you to understand the concepts :

enter image description here

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.