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

4
votes
1answer
141 views

Farm scope Event Receiver

For some security reasons on one of our farm level solutions, we need to limit some actions using Event Receiver-FileMoving event. However, as known, event receivers can be deployed only by Site or ...
1
vote
4answers
764 views

How to enable site collection feature by default when deploying a visual webpart from visual studio?

I am making a visual web part in SP 2010 using visual studio 2010. I want it so that when I add and deploy my wsp file, it should by default keep the site collection feature activated for the web ...
7
votes
3answers
3k views

How do you “stop” activating a feature within the feature receiver?

I have a feature receiver with some long running code, hence I use SPLongOperation and delegate for better visual appearance. Basically my feature receiver looks like so: public override void ...
3
votes
1answer
477 views

Is SPFeatureCollection.Add method asynchronous?

I have a quite complex application that is split into several features. In order to hide this complexity, I set the IsHidden property of the feature to true, then have created a "master" feature. ...
2
votes
3answers
5k views

Activating and deactivating publishing feature breaks SP2010 wikis?

I have created an Enterprise Wiki site on SharePoint 2010. I have added some pages to the wiki - that worked fine. By default, it seems that an Enterprise Wiki has publishing turned off. If I ...
4
votes
4answers
11k views

How to activate feature using powershell script?

I need to activate specific feature to all site collection which is inside the particular web application using powershell script?
4
votes
1answer
2k views

Activate a feature in feature installed

I have a feature for deploying masterpages that I am trying to activate upon install(deploy). The following snippets of code are in the EventReceiver.cs. I am getting a null when attempting to ...
3
votes
6answers
5k 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" /> ...
2
votes
2answers
729 views

Error activating feature

I have created a solution package for Sharepoint 2007 and have installed and deployed it on a development server. However, when I go to activate it through Site Features, I'm given a lovely page of ...
2
votes
2answers
869 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 ...
0
votes
4answers
1k views

Can't deploy custom content type

I have an content type in my feature, and sudenly when I tried to debug my feature, i got the following error: Error occurred in deployment step 'Activate Features': The content type with Id ...
0
votes
1answer
744 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 ...