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.
301 questions
0
votes
0
answers
25
views
Getting a WebPartPageUserException trying to activate a feature (via Powershell) that installs a CEWP on a Wiki page
SP 2016. I have a web-scoped feature that
deploys an HTML page to the Site Assets library via a module
has feature activation code that:
creates a new Wiki page in the Site Pages library
inserts a ...
0
votes
1
answer
48
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 "...
0
votes
1
answer
781
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
1
answer
50
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.
...
0
votes
1
answer
66
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
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
2
answers
247
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
2
answers
959
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
191
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
266
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
1
answer
78
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
241
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
0
answers
52
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
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" ...
0
votes
1
answer
230
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
300
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
92
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
1
answer
116
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
21
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
0
answers
166
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
1
answer
60
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
166
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
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?
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:
$...
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
1
answer
190
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
327
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
152
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
vote
0
answers
592
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.
...
6
votes
1
answer
616
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 ...
4
votes
1
answer
2k
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
1
answer
136
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
0
answers
3k
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
1
answer
1k
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
2
answers
96
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
1
answer
1k
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
1
answer
87
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
0
answers
251
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
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
1
answer
123
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
1
answer
752
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
0
answers
335
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
1
answer
181
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
1
answer
22
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
0
answers
311
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
1
answer
507
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 <...