<customcontrol> (FormXml)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Specifies a custom control on a form.

Syntax

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

Attributes and Elements

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

Attributes

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 Dynamics 365 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

Child Elements

Element

Description

<parameters> Custom Control (FormXml)

Specifies parameters for a custom control.

Parent Elements

Element

Description

<controldescription> (FormXml)

Specifies the description of a custom control on a form.

Element Information

Schema Type

complexType

Validation File

FormXml.xsd

Number of Occurrences

0 or more

XPath

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

See Also

Customize entity forms
Form XML reference

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright