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
723 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
18 views

How to enable/disable sharepoint 2010 farm scoped features using powershell?

I've got all I need to know about the feature. I just want to enable it. When enabling site, web or webapplication scoped feature I use to call this cmdlet: Enable-SPFeature -Identity <...
1
vote
1answer
787 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 ...
1
vote
1answer
32 views

SharePoint Online - Create a site out of site template - feature issue

I was trying to archive a site saving it as site template. I wanted to create another site using this site template, here i ran in to the issue, On further investigation i understand that a hidden ...
1
vote
0answers
20 views

How to prevent webpart replication on custom layout after feature re-activation?

Every time I'm activating the feature that contains my webpart, a new webpart instance is added on the page layout. I just want to this web part being replace by it's new version? What is the ...
0
votes
1answer
36 views

Publishing Pages creation during Site creation through site definition

I have deployed a custom site definition.. Features available in onet.xml are - Site Features- SharePoint Server Publishing Infrastructure Publishing Workflow feature Web Features Office ...
1
vote
1answer
44 views

how to use a reusable workflow in a different site collectoin

I have create a 2010 workflow in SharePoint designer 2013 I have globally published a workflow and it appears now in my site collection at root site and every sub site in it. I want to deploy this ...
0
votes
1answer
167 views

workflow inactive - after deployment?

my workflow is deployed through the following script in SharePoint 2010: # Set CurrentDirectory $callingDir = Split-Path -Parent $MyInvocation.MyCommand.Path [Environment]::CurrentDirectory = $...
0
votes
0answers
21 views

Activate Globally Deployed Master Page

I tried to deploy a solution to Sharepoint 2013, consisting with only master page. However, while I can activate it with GUI just fine, I cannot find a way to activate it using powershell. ...
0
votes
1answer
4k views

Reactivating feature with powershell - disable enable feature if it's active

$snapin = Get-PSSnapin | Where-Object { $_.Name -eq "Microsoft.SharePoint.Powershell" } #This script enables a feature on every site collection on a given web app if ($snapin -eq $null) { Add-...
1
vote
0answers
281 views

Error occurred in deployment step 'Activate Feature': Could not load file or assembly

I have an ItemAdding event that I am trying to add to a custom content type (inherits from Document). During activation I get the following error: Error occurred in deployment step 'Activate ...
0
votes
1answer
82 views

WorkflowHistoryList feature not activating

I'm trying to attach a standard Approval Workflow 2010 to a document library however the powershell script I am using is throwing an exception in the following spot: # Create Workflow History list if ...
0
votes
2answers
102 views

Feature Event Receiver activation, application page set as default newform

I am trying to set the application page as default. So I have added an application page in layouts folder using visual studio. But when I run the code in feature activation I am trying to get the file ...
0
votes
2answers
105 views

Can we deploy a custom WebPart on a standalone SharePoint server?

I installed SharePoint 2013 Foundation and during the installation I choose standalone mode. So when I explored the newly created site features,there were only few features. Question : Can I now ...
0
votes
0answers
25 views

Error deploying in production ONLY

I have a SharePoint solution, consisted of 2 features. The first feature is consisted of 5 SharePoint 2010 workflows, and some web pages. The second one is empty and has a feature event receiver that ...
2
votes
0answers
145 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 every time i am ...
1
vote
1answer
195 views

Stapled Web-scoped feature depending on Site-scoped feature: possible?

I have three features in a solution: A Web-scoped feature (A): has a FeatureActivated call to set up a site A Site-scoped feature (B): contains WebParts A uses A stapling feature (C): staples A to a ...
1
vote
2answers
1k views

How to trace the ListAdded event for the entire SharePoint 2010 farm?

In our SharePoint 2010 environment, we want to enforce the users to choose the option "show user names in the survey list" (survey list) however there may be a time when user may choose "No" to this ...
-1
votes
1answer
55 views

Can't see feature on my webApplication

I did a solution for a SPJobDefinition. Feature scope is WebApplication as required. I have event FeatureActivated but when i deploy solution. When i go to CA -> Manage WebApplication -> select one ...
0
votes
1answer
40 views

SharePoint Online Custom Features

Is there any way to create custom features that can be deployed and activated/deactivated at the site level? From re-searching it I don't think it is possible, but thought I should ask in here just ...
0
votes
1answer
26 views

Is it safe to deactivate Workflow feature

I am unable to publish a SharePoint 2010 workflow due to the following error: “Could not publish the workflow because the workflow configuration file contains errors.” Several posts suggest ...
1
vote
0answers
14 views

Block Feature activation for a site template

Is it possible to block feature activation for a specific site template in SharePoint using C#?
1
vote
1answer
100 views

The content type “Document Collection Folder” at “…” is sealed

It is about 2 days when myself as full control and my users try to upload a document to SharePoint 2013 assets library this error popup for them The content type “Document Collection Folder” at “…”...
0
votes
0answers
31 views

Prevent / Revert Feature Activation on Exception

I have a custom feature. In the FeatureActivated event receiver, I am trying to check if the user is a Term Store Administrator or not and if not, I am throwing an SPException. I actually don't want ...
2
votes
3answers
7k views

Microsoft SharePoint is not supported with version 4.0.30319.225 of the Microsoft .Net Runtime

So, the story is the following: I just joined a team of an existing sharepoint project, sharepoint is installed RTM on all environments, from DEV to production. But because its 2 companies working ...
0
votes
2answers
216 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 ...
2
votes
2answers
66 views

Error with site collection daily resource usage quota

Recently I've added an event receiver to a sandbox feature, but since I added it, whenever I try to deploy the feature, I always get the message Error occurred in deployment step 'Add Solution': ...
0
votes
5answers
2k 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
19 views

Feature activation running slowly on one environment

We have 3 farms, Dev, QA, and Production. Feature activations are running very slowly on the QA environment only. I have a custom feature that deploys files out to the style library and changes the ...
2
votes
2answers
137 views

Activate Approval, Collect Feedback, and Collect Signatures workflows for a site collection?

All workflows are active except for Approval, Collect Feedback, and Collect Signatures. Everything I've read says to go to Site Collection Features and activate Workflows. I've done this, but ...
2
votes
1answer
2k 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 ...
2
votes
2answers
63 views

Change GUID in lookup column

I have a sandbox solution in SharePoint . I have created number of site columns, Content Types , list definitions and list instances. Everything has individual feature. For Ex: Site column ...
2
votes
2answers
270 views

Error occurred in deployment step 'Add Solution': Specified argument was out of the range of valid values

I've been working o a Timerjob project. All of a sudden, when I try to deploy the solution from VS, I got this error: Error 1 Error occurred in deployment step 'Add Solution': Specified ...
1
vote
0answers
29 views

Sandbox solution getting error on on prem

Sandbox solution gives me error : Unhandled exception was thrown by the sandboxed code wrapper’s Execute method in the partial trust app domain: An unexpected error has occurred from below ...
0
votes
1answer
28 views

Activate site scoped solution programmatically

I have a requirement to Activate/Deactivate Site Scoped Feature. I need to Activate/Deactivate on sites. I did deploy it and when I try to add it to a site collection an exception appear. This's the ...
4
votes
6answers
7k 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
0answers
58 views

Permission Feature activation/deactvation. How do I reset default permissions again?

Basically what I want to do is give admin the ability to lock an aspx for certain users through a read-only permission feature, so they can't upload/remove documents if the "case" is closed. The ...
0
votes
0answers
25 views

How to speed up feature re-activation?

Upgrading my solution in production takes forever and I'm looking for ways to improve the typical feature reactivation upgrade scenario. What actually goes on in the features vary greatly and I'm ...
2
votes
0answers
151 views

Activating a Web-scoped Feature using SharePoint 2010 CSOM fails with ArgumentException on featDefScope

I'm trying to activate a Web-scoped feature using the Client Object Model in SharePoint 2010. The code works when activating a feature in SharePoint 2013, but when run against SharePoint 2010, I get ...
0
votes
1answer
43 views

Enterprise Collection Features (Specifically Infopath Forms) will not activate

I am trying to implement the Enterprise Site Collection feature set on my school's SharePoint 2013 Enterprise implementation, but when I go into Site Settings -> Site Collection Features and ...
0
votes
1answer
128 views

Transfer custom web template to new site, features not activated-Sharepoint 2013

I have a web template created in site collection A and have been requested to copy that web template to site collection B. To do this, I downloaded the web template solution by going to the solutions ...
1
vote
2answers
81 views

Access denied during TimerJob activation

I have a custom timer job that kicks off a workflow on a items in a Custom list. When trying to activate it I encounter this error: 09/08/2015 11:16:26.93 w3wp.exe (0x1B170) ...
1
vote
2answers
11k views

How to activate infopath services for sharepoint site

I want to work with infopath services available in sharepoint 2010 environment. My machine has inforpath designer and filler 2010. When I went to site collection features --> Sharepoint server ...
2
votes
1answer
453 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 ...
3
votes
2answers
121 views

Modify SharePoint Quicklaunch on Feature Activation

i want to edit the SharePoint Quicklaunch. I put the following code into the Feature Activated EventReceiver. SPNavigationNodeCollection nodeCollection = spWeb.Navigation.QuickLaunch; ...
2
votes
2answers
16k views

Failed to load receiver assembly when activate feature

I have a problem when activating a Site scoped feature. Every time I try to activate the solution with STSADM or Powershell I get this error: C:\Program Files\Common Files\Microsoft Shared\Web Server ...
1
vote
0answers
36 views

Site Feature Activation

I have a sharepoint list that creates a subsite once approved. I need to activate a feature via the workflow rest call. I have built the following dictionaries Headers: Accept: application/json;...
0
votes
0answers
23 views

Feature activation powershell commands for SP 2010 to 2013 migration

I heard there is a new Feature activation Powershell command which is used for migration of customization from SP 2010 to 2013. Has any one used these command in real-time? Can we depend on this ...
2
votes
0answers
87 views

Reprecussions of deactivating or force activating SharePoint Server Publishing Infrastructure feature

I am receiving an error when I try to activate the SharePoint Server Publishing feature on a sub-site: Content type '0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF39' ...
2
votes
1answer
123 views

Activate Site Feature - SharePoint Server Publishing - is this possible to do this automatically in O365?

Is it possible to Activate Site Feature - SharePoint Server Publishing in the O365 environment using workflow, a web service or a combination of workflow/web service or any other way? We have a ...