Prasad Bolla's SharePoint Blog

Click Here to go through the Interesting posts within my Blog.

Click Here to go through the new posts in my blog.

Monday, November 28, 2011

Feature Element (Feature)

Feature Element (Feature)

Updated: May 2010

Defines a Feature to activate or deactivate at a specified scope.

Copy

ActivateOnDefault = "TRUE" | "FALSE"

AlwaysForceInstall = "TRUE" | "FALSE"

AutoActivateInCentralAdmin = "TRUE" | "FALSE"

Creator = "Text"

DefaultResourceFile = "Text"

Description = "Text"

Hidden = "TRUE" | "FALSE"

Id = "Text"

ImageUrl = "Text"

ImageUrlAltText = "Text"

ReceiverAssembly = "Text"

ReceiverClass = "Text"

RequireResources = "TRUE" | "FALSE"

Scope = "Text"

SolutionId = "Text"

Title = "Text"

UIVersion = "Text"

Version = "Text" >

Attributes Attribute

Description

ActivateOnDefault

Optional Boolean. TRUE if the Feature is activated by default during installation or when a Web application is created; FALSE if the Feature is not activated. This attribute equals TRUE by default. The ActivateOnDefault attribute does not apply to site collection (Site) or Web site (Web) scoped Features.

In general, Farm-scoped Features become activated during installation, and when a new Web application is created, all installed Web application-scoped Features in it become activated.

AlwaysForceInstall

Optional Boolean. TRUE if the Feature is installed by force during installation even if the Feature is already installed. For example, if set to TRUE, Feature installation callouts will always fire anytime a user tries to install the Feature (even if it is already installed) by using either the scanforfeatures or installfeature command-line operation. This attribute equals FALSE by default. The AlwaysForceInstall attribute affects Features of all scopes.

AutoActivateInCentralAdmin

Optional Boolean. TRUE if the Feature is activated by default in the Administrative Web site, site collection, or Web application. This

No comments:

Post a Comment