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 a web template that users can create sub sites from. I want to activate a feature when the subsite is created e.g. create list, columns etc for that sub site only.

How would i approach doing this?

share|improve this question
up vote 0 down vote accepted

To solve this you can use Feature stapling. Also see What is “feature stapling”?.

share|improve this answer
thanks for the reply. is FeatureStapling the best way to do this? are there any other options? – user1786107 Nov 4 '12 at 14:10

Generally speaking, when you want a FEATURE activated for any web created in the farm using a specific web template, you use FEATURE STAPLING.

But, if you want a FEATURE activated for any web created in a particular Site Collection only, you should use WEB PROVISIONED event. For more information on, WebProvisioned event, check 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.