Tip #26. How to create Central Administration feature

Rate this item
(1 Vote)

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 feature 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)


Leave a comment

Make sure you enter the (*) required information where indicated. HTML code is not allowed.