Questions tagged [feature-stapling]
Causes the attachment of a Feature to all new instances of sites that use a given site definition, without modifying the site definition or creating code routines to activate the Feature on each site. Also known as a feature site template association.
57 questions
0 votes
1 answer
39 views
Feature stapling and custom template for Community Site - SharePoint 2013
Using feature stapling, I have created custom code that attaches a new master page as well as adds a webpart to a default page for sites of the type Community. It worked fine in my dev environment, ...
0 votes
0 answers
305 views
How to add the possibility to activate/deactivate my application customiser-SPFX
From this article Use an SPFx Application Customizer to add JavaScript (e.g. header) to every page in a site I can see you can enable a feature does one disable the feature. Not tried it yet but will ...
3 votes
0 answers
189 views
Unable to create site due to feature stapler activated branding
I am trying to create a new site (SPSite), in a SharePoint 2016 portal environment, using the following code: SPWebApplication webApplication = SPWebApplication.Lookup(new System.Uri("http://...
0 votes
1 answer
242 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
1 answer
123 views
Custom DisplayForm not linking to the Custom Content Type's Display Form
I have a Content Type that has been stapled with a feature to SPSERS#2 and BLOG#0. The linkage does not work when i staple the feature to the BlogSiteTemplate. When i checked the content type in ...
1 vote
2 answers
793 views
Change MySite template
When a user in SharePoint 2013 clicks on his name and 'about me' for the first time, a MySite will be created. What are the possibilities to change the template that is used to create this site (...
2 votes
1 answer
280 views
How to create a feature stapler for all webtemplates?
I have created a delegate control and try to provision it to all new site collections. It is working now only for the web template "MySite". How to make it possible to provision this feature for all ...
0 votes
2 answers
1k views
How to trigger some custom c# code when a new site collection is created? Feature Stapling, delegated control?
I am using sp 2013. I have some custom code which is adding some webpart to the welcome page. I would like to execute this code for each new site collection depending on a template (mysites). Someone ...
1 vote
2 answers
99 views
Feature Stapler on Document Library to Set New Folder Off
I would like to have the 'New Folder' option turned off be Default. Are there examples of maybe creating a Feature stapler to do this?
0 votes
0 answers
113 views
Change masterpage of a sub-site automatically, for multiple site collections
I am working in an environment which has more than 1000 site collections. My requirement is that when I create a new subsite in any of the site collection, it should automatically inherit masterpage ...
0 votes
1 answer
736 views
MySite feature stapler for personal site collection master page branding not working
I'm following this blog http://sharepointologic.blogspot.in/2013/04/branding-sharepoint-2013-my-sites-with.html and can't seem to get the feature stapler at the Farm scope to staple the site scoped ...
0 votes
2 answers
93 views
Feature code not upgrading
I am using a feature (with feature receiver) to create some lists by code on "my site". The feature is site scoped and is activated by a farm scoped feature (using feature stapling) when a new my site ...
6 votes
1 answer
126 views
Provisioning MySite with feature that creates library with content type from CT hub
I'm having a problem when provisioning a new user's MySite. I'm trying to activate a feature that adds library / lists to the current user. The library / list should use a content type from the hub! ...
0 votes
1 answer
172 views
How Feature stappling will effect the existing site collections?
I have added a Farm scope feature stapler that staples an existing feature and that existing feature deploys master page. When i create a new site collection, the master page deploys automatically. I ...
0 votes
2 answers
195 views
MySite Branding Event Receiver not firing
I followed this blog for creating mysite branding for sharpoint 2013.Everything works fine but feature stapler doesnt work for new Personal sites. but if i manually activate the feature than it works ...