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.
1
vote
2answers
690 views
Error while activating custom feature
I have a wsp package installed as farm solution. package has event reciever on activating feature. When I go to Site Collection Features and activate this feature i get an error
Error
File ...
0
votes
2answers
110 views
Feature not activating after sharepoint 2007 upgrade to sharepoint 2010
After the 2007 to 2010 SharePoint upgrade i have taken notice that when i try to activate a feature under the site collection admin for a root site page and also with manage site features i keep on ...
2
votes
1answer
407 views
Error occurred in deployment step 'Activate Features': Feature with Id 'xxxxx-xxx' is not installed in this farm, and cannot be added to this scope
while installing a feature, VS ouput the error:
Error occurred in deployment step 'Activate Features': Feature with Id 'xxxxxxx-xxxx' is not installed in this farm, and cannot be added to this scope. ...
1
vote
1answer
168 views
How can I activate a wsp solution uploaded to solution gallery via code in SharePoint 2013
I'm creating a site definition which provisions a subsite based to a webtemplate(wsp) file. This webtemplate file is packed in a feature containing a module.When the feature is activated the wsp file ...
0
votes
1answer
26 views
Sharepoint Event Recievers Feature Activation
I am trying to create an event reciever based off an example created by a previous employee. This event reciever is scoped for the site level and is a ListItem event reciever.
I believe I have ...
0
votes
1answer
38 views
Activating a WebApplication scoped feature on a single web app touches all web app web.configs
I have a WebApplication scoped feature, and I have set ActivateOnDefault to false, to prevent the feature from being activated on every web application when installed.
The feature is a simple ...
0
votes
1answer
91 views
Disable auto activate feature
I have a really strange behaviour, I'm working with SharePoint 2007 and I have a feature web application scoped, and i don't want it automatically being activated on deploying the solution, but it ...
0
votes
1answer
315 views
Error occurred in deployment step 'Activate Features': Invalid field name
SharePoint Error message Error occurred in deployment step 'Activate Features': Invalid field name.{guid}
0
votes
1answer
38 views
Associate my custom feature to default publishing site template with FeatureSiteTemplateAssociation
I want to have an event receiver on site collection creation, but it is not available. So as an alternative way i think of writing a custom feature, and associating it with the default publishing site ...
0
votes
1answer
187 views
Failed with 0x80004005 to create the view query or web parts for web
Feature 1 creates Site Columns
Feature 2 creates Content Type and adds the site columns created by feature1
Feature 3 creates a List definition for mylist
I have two Web tempaltes. I have added ...
0
votes
1answer
225 views
Sandboxed Solution to create a Document Library and enabling manual declartion as record
I need to create a SharePoint Feature, when activated needs to create a Document Library and then enable the manual declaration as record. Following is the code which is working fine in a Console ...
0
votes
1answer
573 views
How do I configure styles and layout of a Summary Link Web Part using code?
I have successfully added a Summary Link Web Part as a feature and want to configure the styles and layout of it, including:
The default style for new links
The group header style
The number of ...
0
votes
1answer
177 views
Custom Site Content type is not getting mapped for the required taxonomy field
I have a custom project site template which is coded in c#.net VS 2010, I have deployed the projects related to the project site template into central admin through VS
After deploying the solution I ...
2
votes
0answers
109 views
Site is Provisioned but Content Type List is still empty
I have this feature that I am trying to run in order to configure a site, this feature among other things creates pages based on content types, etc. The problem I am facing is that everytime i am ...
1
vote
0answers
17 views
Site-level fields created by the Community Site features and its dependencies must not be removed
I get this error: Site-level fields created by the Community Site features and its dependencies must not be removed. when trying to create a Community Site or Active the Community Site Feature, ...
1
vote
0answers
276 views
Sandbox solutions - Prevent auto activation of site collection features
Question:
Does anyone know a way to activate a sandbox solution in SharePoint Online without having the site collection features automatically activated?
Background info:
I have done a bit of ...
1
vote
0answers
150 views
Using templates from a site under 'My Site'?
One of our customers has created a My Site area (with default settings), and then created a new site 'TestSite' in their content area. When they try to create a new site in another My Site area (on ...
0
votes
0answers
76 views
SPUtility.GetLocalizedString not working in feature receiver when deployed from Visual Studio
I use SPUtility.GetLocalizedString in FeatureActivated method of a feature receiver to add a label to a custom action on a specific list instance.
When activating feature from SharePoint or ...
0
votes
0answers
86 views
List View Webpart is not getting added while activating feature using powershell
I created a feature and on activation of it I am trying to add list view webpart.
Using powershell command activating feature and it gets activated but List View Web part it is not getting added on to ...
0
votes
0answers
186 views
Error activating ShrePoint Server Publishing Infrastructure feature
I have installed SharePoint Server 2010 Enterprise Edition in Windows Azure. After successful installation and configuration,I created a web application. When I tried to activate SharePoint Server ...
0
votes
0answers
106 views
Set Record Declaration Settings programmatically
I created a feature receiver whereby on activation will activate and set certain features and its properties. One of that feature is InPlaceRecords. Below is my code in the FeatureActivated method:-
...
0
votes
0answers
119 views
FeatureActivated is not firing after activating feature in code-behind
I've a strange problem with activating a feature from C#: I have a list with a event receiver attached, which creates a new sub-site every time a new listitem has been added:
var newWeb = ...
0
votes
0answers
119 views
WSPbuilder is not including feature.xml during wsp build - MOSS 2007 and VS 2008
I am trying to deploy one existing Custom Project to MOSS 2007. I am able to compile using Visual Studio 2008 and using WSPBuilder am able to build as wsp. But my WSP is only containing my project.dll ...
0
votes
0answers
24 views
Custom delegate is applied even if the feature is deactivated
I have a question regarding a feature.
Situation:
I have a feature that is farm scoped, with this feature I deploy a delegate control (xml file), this file refers to cs code.
So I've added that file ...
0
votes
0answers
447 views
Deploy solution using powershell
I have a solution with 4 projects to automatically some processes in Sharepoint.these projects are:
WebPartProject: Create a custom webpart
CreateTemplate: Create 2 documents libraries (with ...
0
votes
0answers
585 views
'Failed to create Documents Library' error when activate Publishing feature
I am getting the following error in the event log when I activate the 'Office Sharepoint Server Publishing' feature:
Event log message was: 'Failed to create the 'Documents' library.'. Exception
...
