Skip to main content

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.

0 votes
1 answer
39 views

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, ...
Josef H.'s user avatar
0 votes
0 answers
305 views

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 ...
naijacoder's user avatar
  • 4,368
3 votes
0 answers
189 views

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://...
Web User's user avatar
  • 229
0 votes
1 answer
242 views

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 ...
CHANDRU D's user avatar
1 vote
1 answer
123 views

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 ...
Conium's user avatar
  • 73
1 vote
2 answers
793 views

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 (...
RedK's user avatar
  • 11
2 votes
1 answer
280 views

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 ...
Ola's user avatar
  • 4,405
0 votes
2 answers
1k views

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 ...
Ola's user avatar
  • 4,405
1 vote
2 answers
99 views

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?
Bismarck's user avatar
  • 1,021
0 votes
0 answers
113 views

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 ...
Ishan's user avatar
  • 774
0 votes
1 answer
736 views

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 ...
Brandon Runyon's user avatar
0 votes
2 answers
93 views

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 ...
Ilyas's user avatar
  • 1,341
6 votes
1 answer
126 views

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! ...
Plexus81's user avatar
  • 2,250
0 votes
1 answer
172 views

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 ...
SPBeginer's user avatar
  • 2,557
0 votes
2 answers
195 views

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 ...
SharePointMan's user avatar

15 30 50 per page