CustomAction 元素 (CustomActionDefinitions complexType)

(AppHostWebFeatures)

备注

该字符串 app 显示为某些元素、属性和文件名的一部分或全部,因为 SharePoint 外接程序最初称为“SharePoint 应用”。 为了确保向后兼容性,架构尚未更改。

元素信息

名称
元素类型 CustomActionDefinition
命名空间 http://schemas.microsoft.com/sharepoint/
架构文件 apphostwebfeatures.xsd

定义

    <xs:element name="CustomAction" type="CustomActionDefinition" minOccurs="1" maxOccurs="unbounded"></xs:element>

元素和属性

如果架构定义了特定要求(如 序列minOccursmaxOccurs选项),请参阅定义部分。

父元素

无。


子元素

元素

类型

说明

CommandUIExtension

CommandUIExtensionType

UrlAction

UrlActionDefinition


属性

属性

类型

必需

说明

可能的值

说明

LocalizableString

可选

LocalizableString 类型的值。

GroupId

xs:string

可选

xs:string 类型的值。

HostWebDialog

TRUEFALSE

可选

TRUEFALSE 类型的值。

HostWebDialogHeight

xs:int

可选

xs:int 类型的值。

HostWebDialogWidth

xs:int

可选

xs:int 类型的值。

Id

UniqueIdentifier

可选

UniqueIdentifier 类型的值。

ImageUrl

LocalizableString

可选

LocalizableString 类型的值。

位置

CustomActionLocations

可选

CustomActionLocations 类型的值。

RegistrationId

xs:string

可选

xs:string 类型的值。

RegistrationType

CustomActionRegistrationType

可选

CustomActionRegistrationType 类型的值。

RequireSiteAdministrator

TRUEFALSE

可选

TRUEFALSE 类型的值。

Rights

xs:string

可选

xs:string 类型的值。

序列

序列

可选

序列类型的值。

ShowInReadOnlyContentTypes

TRUEFALSE

可选

TRUEFALSE 类型的值。

ShowInSealedContentTypes

TRUEFALSE

可选

TRUEFALSE 类型的值。

Title

LocalizableString

可选

LocalizableString 类型的值。

UIVersion

UIVersion

可选

UIVersion 类型的值。