Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

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.

0
votes
2answers
24 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:...
1
vote
1answer
28 views

Activate SP Server Publishing Infrastructure on Online Publishing Site -modern XP

I have a problem when trying to enable SharePoint Server Publishing Infrastructure site coll feature on one of my site... I know this has been discussed many times, but even when triying every ...
2
votes
2answers
84 views

Saving Site as Template Creates New Features?

New to SharePoint. Working with a on-premise 2013 SharePoint system. Im trying to save a site as a template from Production and copying the resulting template WSP file into my DEV environment. There ...
1
vote
0answers
19 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 ...
0
votes
2answers
727 views

SharePoint Modern Hub Site - unable to Activate SharePoint Server Publishing Infrastructure

I have a SharePoint Hub site and I have created a sub-site using the Records Center template. With this being so, I have attempted to Activate "SharePoint Server Publishing Infrastructure" under Site ...
0
votes
1answer
58 views

How to revert to default form for content type

I added a new feature and inside FeatureActived wrote following code to open my custom task form whenever user clicks on task title. SPContentType myTask = web.ContentTypes["Workflow Task"]; myTask....
0
votes
1answer
134 views

Enable-SPFeature : Field not found

I have a feature that creates a library in a site collection root, as we have 30000 site collections I cant activate it manually, I have to activate it with powershell. The problem is that when I ...
0
votes
1answer
436 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
20 views

sharepoint publishing feature changed my main navigation bar

I enabled sharepoint publishing feature, because I needed anchor feature. For some reason, this changed my navigation bar. I do not know what to call it, but the first link was moved above the other ...
2
votes
1answer
59 views

Difference between Activating Feature in Site Features and Programmatically

I have this strange situation, i have a site definition, that has a feature that after provisioning the site has code that runs, and one of the tasks is to activate the Publishing Feature in the newly ...
0
votes
1answer
14 views

Create an owner group firstly include the site current user and assign permissions full control to it

i have used this code but when i deploy nothing changes : public override void FeatureActivated(SPFeatureReceiverProperties properties) { SPSite site = properties.Feature.Parent ...
1
vote
0answers
108 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-...
0
votes
1answer
29 views

Error: Feature not installed and blocking for application for using this site Template

I have site template created from old site which is WSP file, both server versions are same(SP2013 on premise) What is the reason behind this three feature is not installed is there any dependencies? ...
0
votes
1answer
39 views

How can I get/identify feature titles/names in REST?

SharePoint 2013 I'm able to view all site collection active features via the following endpoint _api/site/features. I'm unable to match any of the guids to feature titles; the endpoint doesn't seem ...
1
vote
2answers
1k views

How to add a picture library to a communication site

I cant find the picture library add-in for a modern communication site. Is there any feature i need to enable?
2
votes
2answers
697 views

Apply Publishing Feature to all Subsites with Powershell Sharepoint 2016

I am working with a lot of site collections, which each have many subsites. I have custom branding that will only work if the publishing feature is activated on each site and subsite. I tried this: $...
3
votes
1answer
1k views

SPFx - Office UI React - How to default select user in People Picker

I want to set default selected Item on people picker? <NormalPeoplePicker defaultSelectedItems={()} inputProps={{ disabled: true }} onChange={this._onChangePeoplePicker} ...
1
vote
1answer
74 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
19 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 ...
3
votes
1answer
120 views

Cannot Extract Microsoft.Sharepoint.Client.Feature.DisplayName Property

I've written a CSOM script for Powershell (code below) to enumerate the features activated on a given site. When in the foreach loop I use $f.DefinitionId, I get a list of the feature GUIDs... however ...
2
votes
2answers
116 views

Activating SharePoint Server Publishing Infrastructure

I am thinking about activating the SharePoint Server Publishing Infrastructure for our site collection, but worry what it could possibly cause. What, if any issues could this cause to content already ...
0
votes
1answer
20 views

How to deploy different files in single feature for mulitple subsites?

I need to deploy different images into picture library for different sub sites in a single feature, I mean I have five images, I need to deploy the first two image in the site collection, third image ...
1
vote
0answers
304 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. ...
5
votes
1answer
262 views

SharePoint 2013 - Custom EventReceiver Feature not appearing in manage feature list

I deployed an EventReceiver Solution file on the server. The solution shows globally deployed in Central Administration. When I go to activate the feature in Manage Site Features in one of the web ...
3
votes
1answer
823 views

Error when activating Project Web App Settings

I am attempting to activate the Project Web App Settings. I navigate to the Settings Wheel > Site Settings > Site Collection Features. I then click the "Activate" button to the right of the Project ...
0
votes
1answer
84 views

Error when Deactivating Farm Feature - Failed to load receiver assembly

I have a farm feature that was updated by PowerShell with the following: Update-SPSolution -Identity FILE.wsp -LiteralPath "PATH\TO\FILE.wsp" –GACDeployment I'm trying to deactivate and then ...
1
vote
0answers
1k 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 ...
0
votes
1answer
332 views

Feature activation fails “Unable to locate the xml-definition” for content types not in the feature

SharePoint 2013 on-prem. Farm solution with Web scoped feature that deploys without problems when deploying directly from VisualStudio. However, when trying to activate the feature in the normal way ...
2
votes
2answers
73 views

Sandbox, does FeatureReceiver work in Office365?

Sandbox with code are disabled in SharePoint Online. Does it mean that I cannot use Feature Receivers? I have a sandbox solution with reciever, it works ok but if I check "Include assembly in ...
0
votes
1answer
448 views

Unable to activate the feature while deploying the solution in sharepoint 2013?

I tried to deploy our solution in visual studio while activating the feature it throws an error message like these Error 2 Error occurred in deployment step 'Activate Features': Failed to load ...
1
vote
1answer
59 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
182 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
2answers
777 views

Error while activating community site feature “Cannot add the file /sites/mysitename/SitePages/Community Home.aspx because it is a draft item”

First when I tried to activate community site feature, it gave me the below error: Site The Site scoped feature being activated has a dependency on hidden Site Collection scoped feature '...
0
votes
1answer
77 views

SharePoint 2010 Error adding a Feature Event Receiver

I want to add a Feature event receiver, that add a webpart to a page, I followed the steps in this link But when I tried to deploy it , I hade the following error : Error occurred in deployment ...
0
votes
1answer
530 views

Failed to instantiate file from module: The specified list does not exist

I'm trying to add new pictures in a pre-existing library name My_lib using solution deployement. Here is my Element.xml <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas....
0
votes
0answers
268 views

Runtime Error on server while activating site collection feature

I have creating content type using visual studio. while activating site collection feature i'm facing this error
2
votes
1answer
144 views

How to move a feature from “Manage Site Features” to “Site Collection Features”

I have developed many custom web parts. These web part's features have always been placed in the Site Collection Features page under Site Collection Administration. For some reason a new web part i ...
1
vote
1answer
20 views

Features activated for a page

Are there any features activated or deactivated for different pages like Wiki Page, SharePoint Page or Web Part page in SharePoint? Or the features are relevant only for the sites and not pages?
2
votes
0answers
240 views

How to prevent anonymous access to _layout pages

I am JR.System Admin in Sharepoint and I am trying to prevent anonymous users to access _layouts pages. I used this shell command with this instructions: get-spfeature -site http:// maximum.dmzisbank ...
0
votes
1answer
227 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
260 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
38 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 ...
0
votes
1answer
123 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 ...
0
votes
1answer
463 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
0answers
44 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 ...
1
vote
1answer
879 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 ...
1
vote
1answer
2k 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
27 views

Block Feature activation for a site template

Is it possible to block feature activation for a specific site template in SharePoint using C#?
2
votes
2answers
900 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 “…” ...
2
votes
2answers
330 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': ...