Feature Element Scope Matrix


 

Edit: ContentTypeBinding can scope to Web. I updated the matrix accordingly.

Edit: ListTemplate can scope to Site. I updated the matrix accordingly.

In the past, I was often frustrated by feature scope incompatibilities in my solutions when using ActivationDependencies. These days I almost always use a feature receiver instead (not just to handle dependencies though). Either way, remembering the compatible scopes for each element is hard on my poor brain, so I made this matrix a few months ago that I use as a reference.

Element Type

Farm 

WebApplication 

Site 

Web 

Content Type 

   

   

x 

   

Content Type Binding 

   

   

x 

x

Control 

x 

x 

x 

x 

Custom Action 

x 

x 

x 

x 

Custom Action Group 

x 

x 

x 

x 

Document Converter 

   

x 

   

   

Feature/Site Template Association

x 

x 

x 

   

Field 

   

   

x 

   

Hide Custom Action 

x 

x 

x 

x 

List Instance 

   

   

x 

x 

List Template 

   

   

x 

x 

Module 

   

   

x 

x 

Receiver 

   

   

   

x 

Workflow 

   

   

x 

   

 
 

Enjoy!

–Doug Ware

Author: Doug Ware

Atlanta based entrepreneur, author of many SharePoint books and videos, leader of Atlanta .NET user group, founder of InstantQuick, and SharePoint MVP.

Comments are closed