A feature-activation is a process which makes a feature active programatically, using power shell or through a web interface. A feature needs to be active in order to be used.

learn more… | top users | synonyms

2
votes
2answers
1k views

Create Site Column (lookup type)

Is there any solid (proven) method of creating Site columns (lookups) where list GUID is not known? I think this is where feature activation kicks in; getting the lookup list by its name and then ...
1
vote
1answer
1k views

How to deploy a farm feature?

I need to create and deploy a farm feature to my SharePoint 2010 install. I have an event receiver that handles the ListAdded event. How do I deploy this to SharePoint as a farm feature? With site ...
0
votes
1answer
660 views

Error When Attempting to Activate a Feature Scoped at Web Application Level

I have created a feature to apply a custom masterpage and stylesheet to my SharePoint web application. This feature is scoped to Web Application level. My problem is that if I try and activate it ...
1
vote
3answers
548 views

Cannot enable feature with feature receiver via PowerShell

I have a problem where I can enable a feature from the UI and code in FeatureActivated method works as expected. However, if I try to enable the feature via powershell as a scripted deployment, the ...
0
votes
1answer
805 views

Site Collection Feature won't go away

I have a custom Feature, with Site Collection scope, that won't go away even after I delete the Web Application, the Content Database, the IIS Web Site. I have uninstalled the Solution that ...
1
vote
2answers
2k views

Which Feature Scopes are right for me?

I'm developing a site using SharePoint Server 2010 in Visual Studio 2010. I'm having trouble determining which Feature Scopes are right for my features. I have a feature which includes a custom ...
1
vote
1answer
2k views

Can't Activate Office SharePoint Server Publishing Infrastructure

When I try to activate the Publishing Infrastructure at the site collection level I getthe following error. The Office SharePoint Server Standard Web application features feature must be ...
2
votes
3answers
3k views

How to deploy a web-scoped feature in visual studio SharePoint Project to a specific site in the Site collection?

I have a visual studio SharePoint site that contains a list definition and content type. I need this feature to be activated on a specific site in the site collection. I set the feature scope to ...
1
vote
4answers
1k views

Difference betweeen SPSite.Features.Add(…) and SPWeb.Features.Add(…)

I have created a Feature named Feature1. Feature1 is activated in a SharePoint site. I create a Web Part that contains the following code. SPSite site = new SPSite("http://intranet/site1"); SPWeb ...
0
votes
1answer
268 views

add activatefeature bat file wspbuilder solution package

I am using WSPBuilder to package up my features that creates lists and libraries. Is there a way to add a bat file with the package will activate these lists and libraries (since they are for ...
1
vote
2answers
150 views

Using CodePlex Feature Generator

I was just wonder whether any acutally used the feature generator from codeplex or not. I have following questions... Does it create good version (meaning not missing anything major from feature) ...
2
votes
0answers
521 views

ListInstance not firing all item event receivers [closed]

I have a feature that defines a number of list instances to provision whenever a new site is created using a particular site definition. The list template for one of these instances has an item event ...
1
vote
1answer
447 views

Declaratively pass parameters to a feature using activationdependency?

is there a way to declaratively pass parameters to a feature using activationdependency? I have a feature defined in ONET.XML that i want to move to a feature stapler, but since it has a property ...
1
vote
3answers
2k views

SharePoint 2010: How to control order in which web features are applied

We have a site defined in onet.xml. The site has 5 features: some standard, some custom. One of the standard ones is the team site. On activation of our feature we would link to copy files into the ...
0
votes
1answer
804 views

Access denied when adding web application features programmatically

My goal is to programmatically activate a Web Application scoped feature. I'm running this code from a feature receiver of a Web scoped feature. I'm logged in as a Farm Administrator. My app pool ...
2
votes
1answer
1k views

<View> (ListViewWebPart) from within publishing page in feature

This is in the context of MOSS 2007. I have a custom site definition. Currently in ONET.xml we have the following Module: <View ...
1
vote
1answer
236 views

WebDeleting Event for New Sites created ? ?

I am using the WebDeleting event which is based on features. Just activate the feature, and whenever a web is getting deleted, the event handler throws a message saying "Web can't be deleted". ...
0
votes
3answers
984 views

Feature Activation Error(Cannot Add Dll to GAC)

We have created a feature, which has 2 application pages. One is to activate the user control and the other one is for database configuration. For the database configuration, the user has to provide ...
3
votes
2answers
776 views

Deploying .dlls to the web application bin folder using .wsp fails with feature recevier

When deploying .dlls to the bin directory using a .wsp my feature receivers seem to blow at the deploysolution stage as they cannot find the related code for my feature receivers. How can I handle ...
4
votes
6answers
6k views

Identify moss features from GUID

We are using a site definition and it has 3 feature dependencies that we are struggling to identify: <ActivationDependency FeatureId="7EDD3C9C-8AC6-4ab5-A209-30B5DC422464" /> ...
1
vote
1answer
513 views

How to modify the Feature Activation Workflow? [duplicate]

Possible Duplicate: How can I show an Application page on Feature Activation? Is it possible to modify the Feature Activation Workflow? For example, you have developed a Feature that ...
9
votes
4answers
7k views

Replace the Default Page in a SharePoint WebSite

I have been asked to programmatically do the following in a SharePoint 2007 team site collection: Create a website using the OOTB blank site template. (Please note, for project specific reasons, we ...