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

Custom SiteDefinition having List Instances,Visual webparts and Event Receivers how to mention this Feature ID's in Onet.XML any sample code?

share|improve this question
what is this feature for ? – Learner Aug 30 '12 at 11:33

If its a list Feature, then you can add it in Configuration's list tag and if its site feature, you can add it to siteFeature's tag within configuration

as explained in this MSDN Article

MSDN article with explanation for ONET.xml

Hope it helped ;)

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.