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

1
vote
1answer
76 views

Problem to modify web.config in runtime

I'm trying to modify the web.config file when the feature is activated with the code below: public override void FeatureActivated(SPFeatureReceiverProperties properties) { SPWebApplication webApp ...
1
vote
1answer
256 views

Cannot activate SharePoint Publishing Feature

despite placing the following code in my onet.xml, the publishing feature is not activated. <Feature ID="A392DA98-270B-4e85-9769-04C0FDE267AA"> <!-- PublishingPrerequisites --> ...
1
vote
1answer
213 views

Deployment Issue with Custom FIeld Types

SHORT DESCRIPTION Custom Field Types are not being correctly deployed/activated on all but one Virtual Machine. I have several VMs with identical SharePoint environments. I have a Visual Studio ...
1
vote
1answer
1k 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
34 views

How Can I Output Enterprise Features List To CSV?

I am trying to output to a CSV file the list of activate enterprise features in our sites with DisplayName, GUID and Scope as the content that is written to the CSV file. I have the following ...
0
votes
1answer
50 views

Feature error when deploying a master page with visual studio 2013

I am new in working with VS13 to edit master pages, when I try to deploy it gives an error: Error 30 Error occurred in deployment step 'Activate Features': Feature with Id ...
0
votes
1answer
90 views

Unable to see timer job

I have created a custom timer job, which contains a feature. I have successfully activated the feature on my web application, but it does not show up under the job definitions. Feature.xml is as ...
0
votes
1answer
78 views

Unable to activate Feature in sharepoint 2010

I created a timer job which will send a mail to all the user.It was working fine in dev server.So ,I change the "SITE URL" in SOLUTION properties to prod server url(http://*_prod) and added solution ...
0
votes
1answer
89 views

Styling a 2010 publishing site using a feature - Not enough information to determine a list for module

I've got a site collection which currently only has one web site (the root web). The styling comes in a Site level feature with a few modules to deploy the master page, the CSS, and other resources, ...
0
votes
1answer
89 views

Hide all site templates except custom and also show templates which are added after feature activation

We want to remove all site templates except custom templates under Create > 'Sites and Workspaces'. and we only want to allow custom templates... Custom template can grow over the time by saving site ...
0
votes
1answer
30 views

Inheritance of Content Types in a Single Feature

I am having the same issue as seen in http://stackoverflow.com/q/9699451/240372 yet the solution does not work for me. The ID's for my Content Types are the following A ...
0
votes
1answer
288 views

“The system cannot find the file specified” message while deploying new feature

I'm trying to deploy a new feature on sharepoint 2010 with scope web. The deploy seems to run successfully, but the feature is not prensent in feature manager. While visual Studio deploys the ...
0
votes
1answer
76 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
356 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
99 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 ...
2
votes
0answers
370 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 ...
2
votes
0answers
134 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
50 views

Call FeatureInstalled method on feature activation and after FeatureActivated

I like to call FeatureInstalled method of feature after the FeatureActivated method. How can I call FeatureActivated method from FeatureInstalled? I have a module in feature and it will adding the ...
1
vote
0answers
115 views

Try to activate a web site feature. Error: Failed to create feature receiver object from assembly

I am using sharepoint 2007. I have created some custom solution in visual studio 2008. In this solution there is an event receiver "FeatureActivated". I have deployed this wsp to my sharepoint ...
1
vote
0answers
413 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:- ...
1
vote
0answers
195 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
18 views

Feature Stapler not working

I have created some branding for the SharePoint 2013 MySites with a feature stapler so that it can also add the branding to the Blog, Apps and Tasks but it's not working. The branding applies to the ...
0
votes
0answers
11 views

Change Home Page on activating feature

I'm developing a SharePoint 2013 application (SharePoint-Hosted). I have a lot of Lists that an "Administrator" user can modify. I would modify Site Home Page on activating feature, with links of ...
0
votes
0answers
12 views

Web Application level feature is reactivated during re installation of solution

I have Web Application level feature and its getting reactivated during deployment. Below are my feature properties, Activate On Defult: True Always Force Install: False whatever the value I have ...
0
votes
0answers
17 views

Deactivate site feature on a site collection change multiple site collections

On our SharePoint 2013 on-premise farm, we have several site collections built based on same backup. They have exactly the same feature, structure and configuration but with different names. Our ...
0
votes
0answers
7 views

Strange ListItemCollection behavior

I made a feature with an ItemAdded eventreceiver. The feature creates two lists and adds a list item to one of the lists. After I activated the feature I looked at the lists and the one list that ...
0
votes
0answers
14 views

(Sharepoint 2010) How do I activate Approval, Collect Feedback, and Collect Signatures workflows for a site collection?

All workflows are active except for these 3. Everything I've read says to go to Site Collection Features and activate Workflows. I've done this, but these three workflows are still inactive. Is ...
0
votes
0answers
104 views

Reporting Server Integration Feature will not be activated

I have very odd problem with Reporting Server Integration Feature. I have developed SharePoint Web Template. I have used Windows Server 2008R2 for developing and I have tested that my solution works ...
0
votes
0answers
43 views

Webpart changes not getting reflected

I have implemented code changes in already existing web part and deployed it to the site. It works fine if I add it into a new page. Site pages that already have this web-part do not reflect any ...
0
votes
0answers
37 views

webprovisioned activatedfeature save conflict

I am having an issue when creating a WebProvisioned eventreceiver that activates a feature. However I am getting the "Save conflict - Your changes conflict with those made concurrently by another ...
0
votes
0answers
25 views

put all list instances in the same feature or each feature contains one list instance

I have in my project 9 custom lists. I put each list definition in a feature. Is it better to put each list instance in a feature ( the feature of list instance has as dependency the feature of the ...
0
votes
0answers
37 views

Getting wrong PageLayouts from site with variations

I have a site in 2013 with two variations: de-de and en-us. On feature activation, I try to get list of Available Page Layouts using following code: using (SPSite site = new SPSite(siteUrl)) ...
0
votes
0answers
62 views

Creating sub site in feature receiver does not work always in sandbox solution

I have created a sandbox solution in which there is one feature for creating two sub-sites. In the event receiver of that feature I have created two sites programmatically. The code is as per ...
0
votes
0answers
17 views

Dynamically Add web part in sandbox solution

I've site in office 365. I want to add site page in /SitePages on feature activation. I also want to dynamically add web part in this site page. How can I do this?
0
votes
0answers
41 views

Staple a feature on custom site template site creation

I have a site template on sharepoint 2007 (stp file) which has everything setup that i need on it and is the way the client wants the site to look. However if i template the site and upload that ...
0
votes
0answers
48 views

Enable-SPFeature not working in scheduled task

I have a powershell script that runs every 5 minutes it creates a subsite on a Site Collection the last part of the script activates the SiteNoteBook feature in SharePoint 2013. I added all the new ...
0
votes
0answers
41 views

Creating a feature however manifest does not contain GUID ID

Currently I am creating four custom features within a visual studio sharepoint 2010 project. Within the manifest there is no ID generated once the feature has been created for two of the features. All ...
0
votes
0answers
447 views

debug feature activation

I have a visual studio project with Sharepoint Site structure. I didn't write any Event Receivers that will add my items (SP List Definitions, List Instances, ...) to the site. That means I use ERs ...
0
votes
0answers
62 views

Features in Sharepoint 2010

I created an empty Project and used the default Feature1 thats created with the project to then create the following: public override void FeatureActivated(SPFeatureReceiverProperties properties) ...
0
votes
0answers
106 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
603 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
310 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
32 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
467 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 ...