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
2 votes
2 answers
2k 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 ...
1 vote
1 answer
4k 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 ...
0 votes
1 answer
37 views

Unable to activate publishing feature -> ContentQueryMain.xsl -> list does not exist

When trying to activate the publishing feature on SharePoint 2019 I am only receiving an error message: Fehler beim Instanziieren der Datei "ContentQueryMain.xsl" von Modul "...
3 votes
2 answers
1k 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 ...
3 votes
3 answers
7k views

How do I Activate the Signatures Workflow?

After fixing the intranet site that was deleted, I am re-establishing some pages that were lost. I have a site template that I created and when I try to use it on the top level site, I receive the ...
1 vote
1 answer
962 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 --> </...
0 votes
1 answer
623 views

SharePoint Framework - Create a lookup column using feature

My requirement is to create a Custom List using the Feature (SPFx solution). I have created a custom list using the SPFx feature, I have created a different type of field. But now I want to create a ...
1 vote
4 answers
2k views

What are the limitations of Communication Sites compared to Team Sites?

We are leaning towards Communication Site just because of the layout structure. My client wants a site with no left navigation and Search in the top right corner. So, on those terms. Communication ...
1 vote
1 answer
39 views

Is there any side effects of activating the video and rich media features for a site collection?

Based on my requirement, I need to activate the video and rich media features on the site collection level. I am trying to find if there are any side effects of doing so but not able to find any. ...
2 votes
3 answers
1k views

"Service too busy" exception occurrs when trying to programmatically activate a sandbox feature with an attached feature receiver

The title says it all... I am trying to programmatically activate some sandbox features (from within a feature reciver that is also part of the sandbox solution). And whilst the features without ...
0 votes
1 answer
62 views

How to fix the column name with $Resources?

We are using SP2016 on-premise. English (United States) is the base language. I have just enabled Custom Tiles feature for a site: Enable-SPFeature -Identity CustomTiles -Url http://web_app It created ...
1 vote
2 answers
236 views

How to copy a missing Site collection feature from one site to another site

I'm using SharePoint 2016 On- premises server. From site collection ( Farm A) I've saved a site as a site template and uploaded the file in the solutions of site collection (Farm B), and activated it....
0 votes
1 answer
744 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....
2 votes
2 answers
680 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 ...
2 votes
4 answers
6k 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?
1 vote
4 answers
3k 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
2 answers
905 views

Get deactivated features with PnP

I am trying to automatically install and activate a solution to our Project Server 2019. I have already installed the solution with Install-PnPSolution, but I cannot activate the feature. When I ...
0 votes
1 answer
25 views

SP19 - Site Collection Features - shows all features across all collections

We have a new Sp19 installation with 4 different web applications with 1 site collection each. We deployed then some farm solutions to the specific sites. When I open the list of Site Collection ...
0 votes
1 answer
174 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
2 answers
216 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
2 answers
2k 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" ...
1 vote
1 answer
74 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
2 answers
7k views

Activating a WebApplication Scoped Feature for a particular WebApplication

I developed a SharePoint 2010 WSP that contains a custom HTTP Module for performing short-url redirects. The WSP also contains a WebApplication scoped feature that consists of a feature receiver that ...
1 vote
1 answer
2k views

How do I determine a dependent hidden Site Collection feature?

When attempting to activate the Content Organizer feature for a site collection (Site Settings > Manage Site Features > Content Organizer > Activate) an error indicating that this feature is ...
1 vote
2 answers
8k 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-...
3 votes
1 answer
4k 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
4 answers
5k 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 ...
2 votes
2 answers
240 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 ...
2 votes
2 answers
1k 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 “…” ...
1 vote
0 answers
39 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 ...
9 votes
2 answers
21k views

Getting SPWeb in feature receiver

While testing my solution I receive an error on Feature activation: Detected use of SPRequest for previously closed SPWeb object. Please close SPWeb objects when you are done with all objects ...
1 vote
2 answers
6k views

Feature Activation with Powershell

I am looking for a good example of powershell script for SP2010 with which I could activate my features with prior check if feature has been deployed (some are "web" and some are "site" scoped. Could ...
4 votes
3 answers
7k views

The breakpoint will not currently be hit - debuging feature receiver

I need to debug my feature receiver, so I set up few breakpoints, but when I hit F5 in VS2010, they are all missed, and it says that "The breakpoint will not currently be hit. No symbols have been ...
0 votes
1 answer
219 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
1 answer
294 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
1 answer
1k 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
1 answer
64 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 ...
6 votes
3 answers
25k views

Activating Site Collection Level Feature with PowerShell Script

I am trying to activate a Site scoped feature using a powershell script. I have another scrip which deploys my solution and I see my feature is installed correctly in Site Collection feature gallery. ...
1 vote
0 answers
165 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-...
2 votes
1 answer
108 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
1 answer
20 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 ...
0 votes
1 answer
54 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
1 answer
146 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 ...
2 votes
2 answers
2k 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: $...
0 votes
1 answer
962 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 ...
1 vote
1 answer
181 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
0 answers
36 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
1 answer
320 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
2 answers
149 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
1 answer
22 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
2 3 4 5 6