I have created a custom action using Element.xml and deployed via Web Application level scope Feature. Now the custom actions are available in almost 3000 sites under that web application. Business wants to hide these custom actions across all sites.

How to hide these existing custom actions from 3000 sites?

  • Do I need to hide the existing Custom Actions in 3000 sites using Feature Upgrade?


  • Create a new Feature to hide the custom actions. Get the list of sites where the custom actions are used and activate the new feature in all those sites?

Please suggest me the correct approach.

1 Answer 1


Go for custom Feature upgrade, No doubt in that. Reasons:

  1. Why to have a feature that kills another feature. Extra resource, extra load on SP servers. Not a good solution.

  2. Feature upgrade is easy, reliable and most important back-traceable. you can downgrade this at anytime.

Since you are having 3000+ sites already and there is a chance of new sites/Site collections to be getting added in future. So take a negative approach like "Exclude only those sites where your management doesn't want to keep this custom actions". Because every other newly created site in that webapp will already have custom action.

This MSDN Article has all Whats & Hows of a feature upgrade for SharePoint 2010


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.