Feature Stapling in SP2010
All sites, excluding blank site
<FeatureSiteTemplateAssociation
Id="Feature_ID"
TemplateName="GLOBAL" />
Blank site
<FeatureSiteTemplateAssociation
Id="Feature_ID"
TemplateName="STS#1" />
Set "Is Hidden" to true if you don't want the feature to appear in site features
See full msdn video by Ted Pattison
http://channel9.msdn.com/learn/courses/SharePoint2010Developer/BestPractices/DesignConsiderations/
<FeatureSiteTemplateAssociation
Id="Feature_ID"
TemplateName="GLOBAL" />
Blank site
<FeatureSiteTemplateAssociation
Id="Feature_ID"
TemplateName="STS#1" />
Set "Is Hidden" to true if you don't want the feature to appear in site features
See full msdn video by Ted Pattison
http://channel9.msdn.com/learn/courses/SharePoint2010Developer/BestPractices/DesignConsiderations/
Comments
Post a Comment