ComplexType CustomActionDefinition
(AppHostWebFeatures)
Notes
La chaîne s’affiche sous la forme d’un élément, d’un attribut et d’un nom de fichier, ou de tous, car les SharePoint de fichiers étaient à l’origine appelés « applications pour app SharePoint ». Pour garantir la compatibilité descendante, les schémas n’ont pas été modifiés.
Informations sur le type
| Namespace | http://schemas.microsoft.com/sharepoint/ |
| Fichier de schéma | apphostwebfeatures.xsd |
| Base d’extension | Aucun |
Définition
<xs:complexType name="CustomActionDefinition">
<xs:all>
<xs:element name="UrlAction" type="UrlActionDefinition" minOccurs="0" maxOccurs="1"></xs:element>
<xs:element name="CommandUIExtension" type="CommandUIExtensionType" minOccurs="0" maxOccurs="1"></xs:element>
</xs:all>
<xs:attribute name="Description" type="LocalizableString" />
<xs:attribute name="GroupId" type="xs:string" />
<xs:attribute name="Id" type="UniqueIdentifier" />
<xs:attribute name="ImageUrl" type="LocalizableString" />
<xs:attribute name="Location" type="CustomActionLocations" use="optional" />
<xs:attribute name="RegistrationType" type="CustomActionRegistrationType" />
<xs:attribute name="RegistrationId" type="xs:string" />
<xs:attribute name="RequireSiteAdministrator" type="TRUEFALSE" />
<xs:attribute name="Rights" type="xs:string" />
<xs:attribute name="Sequence" type="Sequence" />
<xs:attribute name="ShowInReadOnlyContentTypes" type="TRUEFALSE" />
<xs:attribute name="ShowInSealedContentTypes" type="TRUEFALSE" />
<xs:attribute name="Title" type="LocalizableString" />
<xs:attribute name="UIVersion" type="UIVersion" />
<xs:attribute name="HostWebDialog" type="TRUEFALSE" use="optional" />
<xs:attribute name="HostWebDialogHeight" type="xs:int" use="optional" />
<xs:attribute name="HostWebDialogWidth" type="xs:int" use="optional" />
</xs:complexType>
Éléments et attributs
Si le schéma définit des exigences spécifiques, telles que séquence, minOccurs, maxOccurs et choix, voir la section de définition.
Éléments enfants
Élément |
Type |
Description |
|---|---|---|
Attributs
Attribut |
Type |
Requis |
Description |
Valeurs possibles |
|---|---|---|---|---|
Description |
LocalizableString |
facultatif |
Valeurs du type LocalizableString. |
|
GroupId |
xs:string |
facultatif |
Valeurs du type xs:string. |
|
HostWebDialog |
TRUEFALSE |
facultatif |
Valeurs du type TRUEFALSE. |
|
HostWebDialogHeight |
xs:int |
facultatif |
Valeurs du type xs:int. |
|
HostWebDialogWidth |
xs:int |
facultatif |
Valeurs du type xs:int. |
|
ID |
UniqueIdentifier |
facultatif |
Valeurs du type UniqueIdentifier. |
|
ImageUrl |
LocalizableString |
facultatif |
Valeurs du type LocalizableString. |
|
Lieu |
facultatif |
Valeurs du type CustomActionLocations. |
||
RegistrationId |
xs:string |
facultatif |
Valeurs du type xs:string. |
|
RegistrationType |
facultatif |
Valeurs du type CustomActionRegistrationType. |
||
RequireSiteAdministrator |
TRUEFALSE |
facultatif |
Valeurs du type TRUEFALSE. |
|
Rights |
xs:string |
facultatif |
Valeurs du type xs:string. |
|
Séquence |
Séquence |
facultatif |
Valeurs du type Séquence. |
|
ShowInReadOnlyContentTypes |
TRUEFALSE |
facultatif |
Valeurs du type TRUEFALSE. |
|
ShowInSealedContentTypes |
TRUEFALSE |
facultatif |
Valeurs du type TRUEFALSE. |
|
Titre |
LocalizableString |
facultatif |
Valeurs du type LocalizableString. |
|
UIVersion |
facultatif |
Valeurs du type UIVersion. |