Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
(AppHostWebFeatures)
Nota:
La cadena app aparece como parte de o todos los nombres de elemento, atributo y archivo porque los complementos de SharePoint se denominaron originalmente "aplicaciones para SharePoint". Para garantizar la compatibilidad con versiones anteriores, no se han cambiado los esquemas.
Información de tipos
| Información | Ubicación |
|---|---|
| Namespace | http://schemas.microsoft.com/sharepoint/ |
| Archivo de esquema | apphostwebfeatures.xsd |
| Base de extensión | Ninguno |
Definición
<xs:complexType name="FeatureDefinition">
<xs:all>
<xs:element name="ElementManifests" type="ElementManifestReferences" minOccurs="0" maxOccurs="1"></xs:element>
<xs:element name="Properties" type="FeaturePropertyDefinitions" minOccurs="0" maxOccurs="1"></xs:element>
<xs:element name="ActivationDependencies" type="FeatureActivationDependencyDefinitions" minOccurs="0" maxOccurs="1"></xs:element>
<xs:element name="UpgradeActions" type="UpgradeActionsDefinition" minOccurs="0" maxOccurs="1"></xs:element>
</xs:all>
<xs:attribute name="Id" type="UniqueIdentifier" use="required" />
<xs:attribute name="Title" type="LocalizableString" />
<xs:attribute name="Description" type="LocalizableString" />
<xs:attribute name="Version" type="FeatureVersion" />
<xs:attribute name="Scope" type="FeatureScope" use="required" />
<xs:attribute name="ReceiverAssembly" type="AssemblyStrongName" />
<xs:attribute name="ReceiverClass" type="AssemblyClass" />
<xs:attribute name="Creator" type="LocalizableString" />
<xs:attribute name="DefaultResourceFile" type="xs:string" />
<xs:attribute name="Hidden" type="TRUEFALSE" />
<xs:attribute name="SolutionId" type="UniqueIdentifier" />
<xs:attribute name="ActivateOnDefault" type="TRUEFALSE" />
<xs:attribute name="AutoActivateInCentralAdmin" type="TRUEFALSE" />
<xs:attribute name="AlwaysForceInstall" type="TRUEFALSE" />
<xs:attribute name="RequireResources" type="TRUEFALSE" />
<xs:attribute name="ImageUrl" type="RelativeFilePath" use="optional" />
<xs:attribute name="ImageUrlAltText" type="LocalizableString" use="optional" />
<xs:attribute name="UIVersion" type="UIVersion" />
</xs:complexType>
Elementos y atributos
Si el esquema define requisitos específicos, como sequence, minOccurs, maxOccurs y choice, consulte la sección de definición.
Elementos secundarios
Elemento |
Tipo |
Descripción |
|---|---|---|
Atributos
Atributo |
Tipo |
Obligatorio |
Descripción |
Posibles valores |
|---|---|---|---|---|
ActivateOnDefault |
TRUEFALSE |
opcional |
Valores del tipo TRUEFALSE. |
|
AlwaysForceInstall |
TRUEFALSE |
opcional |
Valores del tipo TRUEFALSE. |
|
AutoActivateInCentralAdmin |
TRUEFALSE |
opcional |
Valores del tipo TRUEFALSE. |
|
Creator |
LocalizableString |
opcional |
Valores del tipo LocalizableString. |
|
DefaultResourceFile |
xs:string |
opcional |
Valores del tipo xs:string. |
|
Descripción |
LocalizableString |
opcional |
Valores del tipo LocalizableString. |
|
Hidden |
TRUEFALSE |
opcional |
Valores del tipo TRUEFALSE. |
|
Id |
Uniqueidentifier |
necesario |
Valores del tipo UniqueIdentifier. |
|
Imageurl |
RelativeFilePath |
opcional |
Valores del tipo RelativeFilePath. |
|
ImageUrlAltText |
LocalizableString |
opcional |
Valores del tipo LocalizableString. |
|
ReceiverAssembly |
AssemblyStrongName |
opcional |
Valores del tipo AssemblyStrongName. |
|
ReceiverClass |
AssemblyClass |
opcional |
Valores del tipo AssemblyClass. |
|
RequireResources |
TRUEFALSE |
opcional |
Valores del tipo TRUEFALSE. |
|
Ámbito |
necesario |
Valores del tipo FeatureScope. |
||
SolutionId |
Uniqueidentifier |
opcional |
Valores del tipo UniqueIdentifier. |
|
Cargo |
LocalizableString |
opcional |
Valores del tipo LocalizableString. |
|
UIVersion |
opcional |
Valores del tipo UIVersion. |
||
Versión |
opcional |
Valores del tipo FeatureVersion. |