Questions tagged [feature-activation]

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.

Filter by
Sorted by
Tagged with
1
vote
1answer
205 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
1answer
525 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 simply ...
1
vote
0answers
28 views

DocID Property is not Present on Some Sites

I've been trying to activate the DocID feature on certain sites in our Site Collections. On each site collection we have the DocID feature activated following these instructions. For a long time we ...
1
vote
0answers
129 views

Enable Hidden Feature for Newsfeed Why?

I have seen Blogs where you can activate the "Hidden" News Feed Web Part though PowerShell and then add it to a Standard SharePoint Team Site. Enable-SPFeature -Identity "6928b0e5-5707-46a1-ae16-...
1
vote
1answer
85 views

How do I make SharePoint 2013 menu open the content menu like in SharePoint 2010

Hi I'm basically trying to do this. Sharepoint 2013: How to customize context menu view in document library However even after I follow the instructions it doesn't work. My code is SPSecurity....
1
vote
0answers
22 views

SPLibrary: New Field added to Default View: Field still missing after update

I'm attempting to create a Site-Collection Feature in SharePoint 2013 that will create a new Site Column when activated, add this site column to every document library in the collection, and then ...
1
vote
0answers
371 views

Powershell Error on activation feature Enable-SPFeature : Object reference not set to an instance of an object

I an trying to activate a feature on site collection. I can activate/deactivate it manually and deactivate via PowerShell but when I try to activate it via PowerShell I get error of object reference. ...
1
vote
0answers
2k views

SharePoint Online error - One or more field types are not installed properly. Go to the list settings page to delete these fields

Today i ran in to an error "One or more field types are not installed properly. Go to the list settings page to delete these fields". I activated the SharePoint Sever Publishing Infrastructure ...
1
vote
1answer
65 views

Unable to apply the custom masterpage while activating the feature?

I need to apply my custom master page to site collection and subsites while activating the feature,I am using publishing site template(site collection), subsites are using blog and Search center ...
1
vote
0answers
212 views

Error on activating/upgrading a site template

A site template of site collection-X was used to create a subsite on site collection-Y, both are on SharePoint Online. I was thrown errors that a list of features were Not Activated/Not Licensed. I ...
1
vote
1answer
268 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
1answer
39 views

How to prevent multiple webpart instances after feature re-activation?

Every time I'm activating the feature that contains my webpart, a new webpart instance is added to the page layout. Do I want to this web part being replaced by its new version? What is the parameter ...
1
vote
1answer
3k 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
28 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
0answers
33 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 ...
1
vote
0answers
80 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 ...
1
vote
1answer
1k 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
263 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
0answers
116 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;...
1
vote
0answers
59 views

How to update spjob

I've a solution sharepoint 2010 for a job that i want to update. So i did in powershell an update-spsolution and restart sharepoint timer job For testing, i changed the start hour in event of my job. ...
1
vote
1answer
284 views

Couldn't activate my feature because my ClientTag had reached 32767

While deploying my solution in visual studio in my development environment I came across a very strange issue. While uploading some master pages defined in my an Elements.xml file, the deployment ...
1
vote
0answers
523 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 ...
1
vote
0answers
129 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
1answer
518 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
775 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
0answers
811 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
3answers
67 views

New to Developing SharePoint Web Parts and Features

I recently Developed a really simple web part scoped to site (or at least it's feature is). I also created a feature that up[on activation is suppose to create a new content type. That's fine and ...
1
vote
1answer
190 views

Does the SPField.OnAdded() method get called from a CAML deployment?

If I create a custom list definition and instance in CAML, as part of a feature, and I have included a custom field as part of that list, will that field's OnAdded() method get called when the feature ...
1
vote
0answers
1k 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
213 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 ...
1
vote
2answers
2k views

How do I fix the error “Expression must evaluate to a node-set” setting web.config entries?

I'm trying to update web.config in SharePoint when the feature is activated. I have created Event receiver. The code inside receiver is: public override void FeatureActivated(...
1
vote
1answer
268 views

Creating Site Templates - Master Page Not Being Handled Right After Upgrade

In our old MOSS 2007 farm we had a branding feature deployed that swapped out CSS Files, Master Pages, etc for our sites to keep a consistent branding across our Site Collections. We are currently in ...
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
2answers
445 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 feature ...
0
votes
5answers
3k 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
2answers
2k views

Activate “Office Sharepoint Server Publishing” in 2007

When I try to activate the Office Sharepoint Server Publishing for the root level site, I keep getting One or more features must be turned on before this feature can be activated. I tried to ...
0
votes
1answer
2k views

Activate the site collection publishing feature gives error: The content type “Page Layout” at “/teams/T200001/_catalogs/masterpage” is read only

I have a sp 2010 site collection. When I try to activate the site collection "SharePoint Server Publishing Infrastructure" feature I got this error: The content type "Page Layout" at "/teams/...
0
votes
2answers
143 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
4answers
4k views

How to programmatically get Feature ID?

In order to programmatically activate a feature, you need its Feature ID (some type of GUID) that is set in the .feature file. Is there a pretty way of retrieving this value programmatically, so that ...
0
votes
1answer
4k 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
2answers
110 views

How would a Web Application feature knows on activation that which web app its supposed to run on

Scenario can be read on My other Question Further to that question, why would a web application has timer job definition that it hasn't been deployed to. this is the code I am using for feature ...
0
votes
1answer
119 views

Problem activating feature on child webs

I have a feature that is manually activated. In a feature receiver I also activate the feature on any child SPWebs in existence. I would like some code to run only on the SPWeb where the feature is ...
0
votes
1answer
31 views

Custom TimerJobs are not showing under Job definition in SharePoint 2013 when activated the feature at web level

I have custom Timer jobs solution deployed at site and web level scope. When I activated the Site level scope features I am able to see the Custom Timer Jobs under Central Admin Job Definitions, but ...
0
votes
2answers
30 views

Folder in _Layouts/ not see

I create the project "SharePoint 2013 - empty Project", add SharePoint Layouts Mapped Folder, then add to script file, path /_Layouts/SearchWords/jquery.min.jsand publish project. I see my folder in C:...
0
votes
1answer
728 views

Using feature event receiver in SharePoint Online

Is it possible to create feature event receiver in SharePoint Online? My goal is to open custom task form based on content type which I do like following in case of on-premise: Create an empty ...
0
votes
1answer
308 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 <...
0
votes
1answer
41 views

Lookup column, using one or two features?

I have 2 lists with a lookup column. I'm thinking about 2 choices. Even putting them in the same feature or separate them in 2 features. My question is : Does putting the lists in the same feature in ...
0
votes
2answers
55 views

Always i have to manually deactivate and activate feature manually?

I have a feature scoped to web. Every time i deploy my wsp using visual studio i have to manually go to the site feature and deactive and active feature to see my latest changes. Is there any setting ...
0
votes
2answers
290 views

SP2010 Activate feature Throws an error

I'm using the code below to modify Custom List Permission in SharePoint 2010. What I'm trying to do is to modify All Group's Permission Level to Read except for the Owners Group. My code runs fine ...
0
votes
1answer
8k views

Deploy a single feature using SharePoint Management Shell with SharePoint 2013

I have been working in a development environment and deploying my custom web part features from Visual Studio directly by just hitting F5. I now need a way to deploy features separately to a test ...