Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Note
The string app
appears as part of or all of some element, attribute, and file names because SharePoint Add-ins were originally called "apps for SharePoint." To ensure backward compatibility, the schemas have not been changed.
Element information
Information | Location |
---|---|
Element type | FeatureDefinition |
Namespace | http://schemas.microsoft.com/sharepoint/ |
Schema file | apphostwebfeatures.xsd |
Definition
<xs:element name="Feature" type="FeatureDefinition"></xs:element>
Elements and attributes
If the schema defines specific requirements, such as sequence, minOccurs, maxOccurs, and choice, see the definition section.
Parent elements
None.
Child elements
Element |
Type |
Description |
---|---|---|
Attributes
Attribute |
Type |
Required |
Description |
Possible values |
---|---|---|---|---|
ActivateOnDefault |
TRUEFALSE |
optional |
Values of the TRUEFALSE type. |
|
AlwaysForceInstall |
TRUEFALSE |
optional |
Values of the TRUEFALSE type. |
|
AutoActivateInCentralAdmin |
TRUEFALSE |
optional |
Values of the TRUEFALSE type. |
|
Creator |
LocalizableString |
optional |
Values of the LocalizableString type. |
|
DefaultResourceFile |
xs:string |
optional |
Values of the xs:string type. |
|
Description |
LocalizableString |
optional |
Values of the LocalizableString type. |
|
Hidden |
TRUEFALSE |
optional |
Values of the TRUEFALSE type. |
|
Id |
UniqueIdentifier |
required |
Values of the UniqueIdentifier type. |
|
ImageUrl |
RelativeFilePath |
optional |
Values of the RelativeFilePath type. |
|
ImageUrlAltText |
LocalizableString |
optional |
Values of the LocalizableString type. |
|
ReceiverAssembly |
AssemblyStrongName |
optional |
Values of the AssemblyStrongName type. |
|
ReceiverClass |
AssemblyClass |
optional |
Values of the AssemblyClass type. |
|
RequireResources |
TRUEFALSE |
optional |
Values of the TRUEFALSE type. |
|
Scope |
required |
Values of the FeatureScope type. |
||
SolutionId |
UniqueIdentifier |
optional |
Values of the UniqueIdentifier type. |
|
Title |
LocalizableString |
optional |
Values of the LocalizableString type. |
|
UIVersion |
optional |
Values of the UIVersion type. |
||
Version |
optional |
Values of the FeatureVersion type. |