I created a site definition that I will use as a site template for a SPWeb object. My web can only be provisioned as a child of a site (SPSite) using a certain Sharepoint template. When I provision the web I want several features that compose my custom site definition to be activated at web level, and several other to be activated at site level (for the parent site). How can I achieve this?
Share
When you create a Site Definition, you will have a Tag called Configuration that has Sub Tags called WebFeature and SiteFeature.
You can specify all the Features ID in the respective section so that you will have those Features activated when you create a Site out of it.
Hope this helps