SharePoint Tip #26. Do you know “How to create Central Administration feature”?

Sometimes you are developing some serviced or administrative application for SharePoint and what to have feature on the level of Central Administration. Something like “SharePoint Administrative Toolkit”

To achieve such level activation you need to add additional attributes to your feauture definition

  1. AutoActivateInCentralAdmin= “TRUE”
  2. Hidden=”TRUE”

You can set the same settings programmatically, using SPFeatureDefinition.AutoActivateInCentralAdmin property

Consider using SPFeatureReceiver class to avoid feature being activated on other Web Applications, except the Central Administration (webApp.IsAdministrationWebApplication check in receiver)


Have anything to add?! Send your tips to be published via this form

Leave a Comment