I am using sharepoint 2010 and vs2010.
I have created a custom webtemplates and begin from a copy of a teamsite. In my onet.xml I see the following site feature elements:
<SiteFeatures> <!-- BasicWebParts Feature --> <Feature ID="00BFEA71-1C5E-4A24-B310-BA51C3EB7A57" /> <!-- Three-state Workflow Feature --> <Feature ID="FDE5D850-671E-4143-950A-87B473922DC7" /> </SiteFeatures>
I created a new site collection from the site template "publish site" I deployed my custom web template to this site collection. I create a new site and select my custom web template. I got some error: "the site template requires that the feature fde5d850-671e-4143-950a-87b473922dc7 be activated in the site collection"
When I go to the site collection features and enable this feature "Three-state workflow : fde5d850-671e-4143-950a-87b473922dc7" it works.
But I dont understand, why I need to do this manual?? In my onet.xml of my custom web template I have declare this feature to be activated in the sitefeature element.