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.

learn more… | top users | synonyms

2
votes
1answer
17 views

Feature stapling to delete the folder in SharePoint [duplicate]

My requirement is whenever particular My Site is created default folder will appear, I don't want that default folder, so need to create a feature stapling on activated method whenever my site ...
1
vote
1answer
41 views

Feature stapling always returns item does not exist: it may have been deleted by another user

I'm attempting to create a feature stapled solution that pushes out custom branding to every new site collection created. The following code is in my event receiver: public override void ...
1
vote
0answers
54 views

Masterpage Feature Stapling not applied to Blog (SharePoint 2013)

I've created a feature staple for my sites to apply a particular master page. It appears to work for all the subsites/pages in /personal/[userid]/ except for the blog. Any ideas?
0
votes
1answer
30 views

Stapling feature from different project

We have 2 projects in visual studio. Project 1 has 2 features. Feature A is site scoped module Feature B is web application scoped feature stapler. (empty element with ...
0
votes
1answer
236 views

Logic to set master page for all sites/webs in web application

I am able to set the masterpage to all existing sites in site collection as well as the newly created sites/site collections using this link. But, I have a question and want to know if this is ...
0
votes
1answer
91 views

My Site Feature stapling dependencies?

I have a module for Stapling features in SPSPERS#2 (My Sites). In the Elements.xml of the stapling module I have this: <!-- My Site contents (Content Types, lists, etc)--> ...
1
vote
1answer
473 views

Turn Off Minimal Download Strategy when stapling mysite

I have to deactivate the MDS when provisioning my sites. I have tried with an event receiver in a custom feature but it seems that when I execute this code in the receiver Guid featureGuid = new ...
0
votes
0answers
33 views

Staple a feature on custom site template site creation

I have a site template on sharepoint 2007 (stp file) which has everything setup that i need on it and is the way the client wants the site to look. However if i template the site and upload that ...
0
votes
1answer
30 views

Site provision cycle

I have some site definitions in which I have added multiple lists into the <Lists> tag and then I've added a stapling feature which will trigger a series of web-scoped features when sites are ...
2
votes
4answers
156 views

feature stapling in site definition

I want to create site definition using VS2010, also when any site get created it should activate few feature automatically. How to use feature stapling exactly , please anyone let me know step by step ...
1
vote
1answer
268 views

How to deactivate feature when creating My Site

I have activated the self service creation for My Site Web Application. The thing is that in SharePoint 2013 there is a feature named Minimal Download Strategy (Web Scope) that is activated by ...
3
votes
1answer
691 views

Feature stapling for applying custom master page on site collection creation doesn't work

I've got a WebApplication which should contain a publishing site collection and a custom masterpage for that site collection. I wanted to achieve, if this site collection is created during deployment, ...
5
votes
1answer
286 views

Feature Stapling and SPWeb.Navigation (Top Nav bar or quick launch) changes not applying

I am using feature stapling to add a feature to all sites in a web application. This feature creates a list, creates a site page, creates a webpart, adds the web part to the site page, and then it is ...
0
votes
1answer
316 views

delete feature using event receiver on a farm feature

there is a farm feature and there is a web-scoped feature. web feature does stuff on multiple sites. If ever i want to get rid of the feature on all sites, I have a farm feature that has on ...
2
votes
1answer
8k views

Error occurred in deployment step 'Activate Features' - When feature stapling to My Sites

I am trying to deploy a feature to My Sites in SharePoint 2010 and nothing seems to be working. I did this perfectly fine on the test environment but can't seem to get it working on the production ...
0
votes
1answer
394 views

Switching Ribbon and Navigation Bar Location, MySites

I'm trying to get the Top Navigation Bar (My Site, My Content, My Profile...) to go below the Top Ribbon. Basically I want the top area of MySites to look just like a regular site collection. Any idea ...
0
votes
2answers
505 views

Adding a WebPart to a page (Stapling)

I have been trying to do this for a while now its a huge pain as I can't seem to find any good guides to show all steps for adding a web part to a page using a feature staple. I have the feature ...
2
votes
0answers
128 views

Site is Provisioned but Content Type List is still empty

I have this feature that I am trying to run in order to configure a site, this feature among other things creates pages based on content types, etc. The problem I am facing is that everytime i am ...
1
vote
1answer
471 views

Feature Stapling and Inheritance in My Site/My Content

I have a SP 2010 Enterprise/VS 2010 workstation. I have built and deployed a custom master/CSS/asset library for a standard My Site deployment as a feature and modules. The master deploys and ...
2
votes
2answers
313 views

SharePOint Feature Activation

Is there a way that i can copy a page from pages library into another Folder(Site Pages) library automatically once my feature is activated . I have written a custom event receiver which will set the ...
0
votes
1answer
81 views

Can i staple multiple feature in moss 2007

I have deployed a Feature Stapler feature that attach two feature to the BLANKINTERNET#2 template. Now I need to update this staple feature to add one more feature. I have already added another ...
0
votes
1answer
683 views

Sharepoint 2010 MySite feature Stapling Error

In our environment i had created a feature stapler which will brand the personal site of users so that it will follow the same branding all over the site collection but when a user is creating a blog ...
3
votes
3answers
415 views

Alternatives to Feature Stapling?

I'm trying to determine if there is any way to automatically deploy a few web parts on the creation of new My Sites pages, but in a manner that doesn't use feature stapling. I know how to feature ...
3
votes
1answer
288 views

Listadded events on My Site omits Personal and Shared Documents creation

I want to have a feature which will change some settings on every list on My Site. Problem is i cant change settings for two main list: Shared and Personal Documents. For testing I have web feature ...
18
votes
1answer
5k views

What is “feature stapling”?

I've seen the term "feature stapling" used around this site and some blogs. What exactly does this mean? My best guess is that it has something to do with dynamically activating features from other ...
1
vote
0answers
354 views

MySite Feature stapling

I need to add a custom webpart to default.aspx page of created MySite. I followed this post and it is working well. What is strange thou, it works well for users that authenticate via Windows ...
1
vote
1answer
201 views

Issue with the survey list settings?

Have created a feature(list provisioning) to update the "showuser" property of the survey list and stappled on the webapplication, it works perfectly fine and sets the list property when the survey ...
1
vote
2answers
137 views

Execute code on site creation in SharePoint 2010

We're trying to create a SharePoint 2010 feature on a site collection that when active would execute code each time a web site is created. We're using Visual Studio 2010. The code will set properties ...
5
votes
1answer
137 views

How to handle web references becoming stale in a web feature activation

We have a number of web-scoped features all stapled to a site definition, so they are all activated in turn when a web is created from the definition. It seems the feature receivers all share the ...
3
votes
3answers
344 views

Feature Stapling turn off feature

Is it possible to turn off a feature using featuring stapling? How could you turn a feature off for all new sites that are created by default? Edit I have a feature staple to turn on publishing on ...
1
vote
1answer
353 views

VIsual Studio editing feature.xml

I am trying to create a a feature staple. To do this I need to create a feature and then edit the feature.xml to be like: <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> ...
1
vote
2answers
1k views

How to trace the ListAdded event for the entire SharePoint 2010 farm?

In our SharePoint 2010 environment, we want to enforce the users to choose the option "show user names in the survey list" (survey list) however there may be a time when user may choose "No" to this ...
1
vote
1answer
179 views

Stapled Web-scoped feature depending on Site-scoped feature: possible?

I have three features in a solution: A Web-scoped feature (A): has a FeatureActivated call to set up a site A Site-scoped feature (B): contains web parts A uses A stapling feature (C): staples A to ...
6
votes
1answer
91 views

Which database will feature stapling affect?

We are testing feature stapling and need to revert to a point before the feature stapling was run. To do this do we just need to restore the content database, or do we also need to restore the ...
1
vote
1answer
734 views

How to feature staple to MySites masterpage

Is there a way to feature staple to the MySites site definition? I want to be able to style it via the masterpage.
2
votes
6answers
986 views

Feature stapling vs Site Definitions

I curious of what you’re experiences are one the user of site definition compared to feature stapling. In a video on Channel 9 Ted Patterson explains that feature stapling is the way to go. It would ...
0
votes
1answer
100 views

Feature not applied to public My Site profile

I've written and deployed a feature for my company's My Site - all it does is replace the default Top Navigation Control with one I've modified to include a link back to our main SharePoint ...
3
votes
1answer
558 views

Stapled Feature doesn't work with TemplateName=GLOBAL

I have this stapled feature to my "Blank" template: <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <FeatureSiteTemplateAssociation Id="19e70775-7410-4a0a-a292-8252e622774a" ...
1
vote
1answer
443 views

Declaratively pass parameters to a feature using activationdependency?

is there a way to declaratively pass parameters to a feature using activationdependency? I have a feature defined in ONET.XML that i want to move to a feature stapler, but since it has a property ...
0
votes
1answer
320 views

Feature Activation through stapling

I am developing a sharepoint feature which takes a backup of the site at sitecollection level and at site level whenever a user tries to delete the site. The feature is working fine without issues for ...
1
vote
4answers
2k views

How to delete webparts from my site on creation

I want to delete some of the webparts from my sites when they are created. I've stapled a feature that runs custom code. I've attached the basics of what it does below, edited for brevity. It works ...
1
vote
2answers
1k views

Create a feature to add a custom permission level and groups

Need to automate the custom permission level creation and groups. Please give me some pointers which can guide me to create a feature to add a custom permission level and groups and staple the same ...
7
votes
10answers
4k views

When to use Custom Site Definitions… and not

Its an old battle between ITpro and developer. ITpros hate them due to upgrade issues, devs like the freedom it gives them without having to do house cleaning with feature stapling. What is your ...