<customcontrol> (FormXml)

Specifies a custom control on a form.

语法

<customcontrol
  id="String"
  formfactor="Integer"
  name="String"
  version="String"
  <parameters />
</customcontrol>

属性和元素

The following table describes the attributes, child elements, and parent elements.

属性

Attribute Description Type Usage

id

Represents the unique ID of the custom control on the form.

String (FormGuidType)

Required

formfactor

Specifies the kind of device the custom control will be available. Custom controls are available only for CRM for tablets and phones.

Integer

Optional

name

Specifies the name of the custom control.

String

Optional

version

Specifies the version of the custom control.

String

Optional

子元素

Element Description

<parameters> Custom Control (FormXml)

Specifies parameters for a custom control.

父元素

Element Description

<controldescription> (FormXml)

Specifies the description of a custom control on a form.

元素信息

Schema Type

complexType

Validation File

FormXml.xsd

Number of Occurrences

0 or more

XPath

//FormXml/forms/systemform/form/controldescriptions/controldescription/customcontrol

另请参阅

概念

自定义实体窗体

其他资源

Form XML reference

Microsoft Dynamics CRM 2016 and Microsoft Dynamics CRM Online
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.