CommandUIHandlerType complexType
(AppHostWebFeatures)
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.
Type information
Name | Value |
---|---|
Namespace | http://schemas.microsoft.com/sharepoint/ |
Schema file | apphostwebfeatures.xsd |
Extension base | None |
Definition
<xs:complexType name="CommandUIHandlerType">
<xs:attribute name="Command" type="xs:string" use="required" />
<xs:attribute name="CommandAction" type="xs:string" use="required" />
<xs:attribute name="EnabledScript" type="xs:string" use="optional" />
</xs:complexType>
Elements and attributes
If the schema defines specific requirements, such as sequence, minOccurs, maxOccurs, and choice, see the definition section.
Child elements
None.
Attributes
Attribute |
Type |
Required |
Description |
Possible values |
---|---|---|---|---|
Command |
xs:string |
required |
Values of the xs:string type. |
|
CommandAction |
xs:string |
required |
Values of the xs:string type. |
|
EnabledScript |
xs:string |
optional |
Values of the xs:string type. |