Partilhar via


<control> (FormXml)

Aplica-se a: CRM 2016 on-prem, CRM Online

Especifica o controle a ser exibido em uma célula de formulário.

Sintaxe

<control
  addedby="String"
  classid="String"
  datafieldname="String"
  disabled=["0" | "1" | "true" | "false"]
  id="String" >
  indicationOfSubgrid==["0" | "1" | "true" | "false"]
  isrequired=["0" | "1" | "true" | "false"]
  isunbound=["0" | "1" | "true" | "false"]
  relationship="String"
  uniqueid="String"
 <parameters />
</control>

Atributos e elementos

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

Atributos

Attribute Description Type Usage

id

Represents a string that uniquely identifies the control on the form.

String

Optional

uniqueid

Specifies the unique ID of the attribute that the control is bound to. This is applicable for the custom controls introduced in Microsoft Dynamics CRM 2016.

String (FormGuidType)

Optional

classid

Specifies the unique ID for the control used for the field.

String (FormGuidType)

Optional

datafieldname

Matches the control to the name of the data field.

String

Optional

disabled

Matches the field display property Field is read-only.

Boolean

Optional

addedby

Identifies the name of the ISV or customizer that added the element.

String

Optional

indicationOfSubgrid

Indicates whether a control is a subgrid control.

Boolean

Optional

isunbound

Indicates whether a control is bound to an attribute.

Boolean

Optional

isrequired

Indicates whether specifying data in a control is required.

Boolean

Optional

relationship

Specifies a relationship to be used by a control.

String

Optional

Elementos filho

Element Description

<labels> (FormXml)

Contém definições de rótulo de formulário.

<parameters> (FormXml)

Contém os parâmetros a serem passados para o controle de um formulário.

Elemento pai

Element Description

<cell> (FormXml)

Um elemento de layout de formulário. Uma célula contém os rótulos e o controle a serem exibidos.

Comentários

Observação

Web resource controls are not supported in <footer> (FormXml) elements.

The classid corresponds to the following field types:

Name GUID

AccessPrivilegeControl

{F93A31B2-99AC-4084-8EC2-D4027C31369A}

AccessTeamEntityPicker

{3F4E2A56-F102-4B4D-AB9C-F1574CA5BFDA}

ActivitiesContainerControl

{C72511AB-84E5-4FB7-A543-25B4FC01E83E}

ActivitiesWallControl

{6636847D-B74D-4994-B55A-A6FAF97ECEA2}

ArticleContentControl

{F02EF977-2564-4B9A-B2F0-DF083D8A019B}

ButtonControl

{00AD73DA-BD4D-49C6-88A8-2F4F4CAD4A20}

CheckBoxControl

{B0C6723A-8503-4FD7-BB28-C8A06AC933C2}

CompositionLinkControl

{DB1284EF-9FFC-4E99-B382-0CC082FE2364}

ConnectionControl

{3246F906-1F71-45F7-B11F-D7BE0F9D04C9}

ConnectionRoleObjectTypeListControl

{821ACF1A-7E46-4A0C-965D-FE14A57D78C7}

CoverPagePicklistControl

{4168A05C-D857-46AF-8457-5BB47EB04EA1}

CustomControl

{F9A8A302-114E-466A-B582-6771B2AE0D92}

DateTimeControl

{5B773807-9FB2-42DB-97C3-7A91EFF8ADFF}

DecimalControl

{C3EFE0C3-0EC6-42BE-8349-CBD9079DFD8E}

DurationControl

{AA987274-CE4E-4271-A803-66164311A958}

DynamicPropertyListControl

{6896F004-B17A-4202-861E-8B7EA2080E0B}

EmailAddressControl

{ADA2203E-B4CD-49BE-9DDF-234642B43B52}

EmailBodyControl

{6F3FB987-393B-4D2D-859F-9D0F0349B6AD}

ErrorStatusControl

{F4C16ECA-CA81-4E39-9448-834B8378721E}

FloatControl

{0D2C745A-E5A8-4C8F-BA63-C6D3BB604660}

FrameControl

{FD2A7985-3187-444E-908D-6624B21F69C0}

GridControl

{E7A81278-8635-4D9E-8D4D-59480B391C5B}

HiddenInputControl

{5546E6CD-394C-4BEE-94A8-4425E17EF6C6}

IntegerControl

{C6D124CA-7EDA-4A60-AEA9-7FB8D318B68F}

KBViewerControl

{A62B6FA9-169E-406C-B1AA-EAB828CB6026}

LabelControl

{5635c4df-1453-413e-b213-e81b65411150}

LanguagePicker

{671A9387-CA5A-4D1E-8AB7-06E39DDCF6B5}

LinkControl

{DFDF1CDE-837B-4AC9-98CF-AC74361FD89D}

LookupControl

{270BD3DB-D9AF-4782-9025-509E298DEC0A}

MailMergeLanguagePicker

{B634828E-C390-444A-AFE6-E07315D9D970}

MapLinkControl

{91DC0675-C8B9-4421-B1E0-261CEBF02BAC}

MapsControl

{62B0DF79-0464-470F-8AF7-4483CFEA0C7D}

MoneyControl

{533B9E00-756B-4312-95A0-DC888637AC78}

NotesControl

{06375649-C143-495E-A496-C962E5B4488E}

PartyListControl

{CBFB742C-14E7-4A17-96BB-1A13F7F64AA2}

PhoneNumberControl

{8C10015A-B339-4982-9474-A95FE05631A5}

PicklistControl

{3EF39988-22BB-4F0B-BBBE-64B5A3748AEE}

PicklistLookupControl

{2305E33A-BAD3-4022-9E15-1856CF218333}

PicklistStatusControl

{5D68B988-0661-4DB2-BC3E-17598AD3BE6C}

ProcessControl

{06E9F7AF-1F54-4681-8EEC-1E21A1CEB465}

QuickFormCollectionControl

{5C5600E0-1D6E-4205-A272-BE80DA87FD42}

QuickFormControl

{69AF7DCA-2E3B-4EE7-9201-0DA731DD2413}

RadioControl

{67FAC785-CD58-4F9F-ABB3-4B7DDC6ED5ED}

RegardingControl

{F3015350-44A2-4AA0-97B5-00166532B5E9}

RelatedInformationControl

{163B90A6-EB64-49D2-9DF8-3C84A4F0A0F8}

RelationshipRolePicklist

{5F986642-5961-4D9F-AB5E-643D71E231E9}

ReportControl

{A28F441B-916C-4865-87FD-0C5D53BD59C9}

SearchWidget

{E616A57F-20E0-4534-8662-A101B5DDF4E0}

SocialInsightControl

{86B9E25E-695E-4FEF-AC69-F05CFA96739C}

TextAreaControl

{E0DECE4B-6FC8-4A8F-A065-082708572369}

TextBoxControl

{4273EDBD-AC1D-40D3-9FB2-095C621B552D}

TickerControl

{1E1FC551-F7A8-43AF-AC34-A8DC35C7B6D4}

TimerControl

{9C5CA0A1-AB4D-4781-BE7E-8DFBE867B87E}

TimeZonePicklistControl

{7C624A0B-F59E-493D-9583-638D34759266}

UrlControl

{71716B6C-711E-476C-8AB8-5D11542BFB47}

WebResourceHtmlControl

{9FDF5F91-88B1-47F4-AD53-C11EFC01A01D}

WebResourceImageControl

{587CDF98-C1D5-4BDE-8473-14A0BC7644A7}

WebResourceSilverlightControl

{080677DB-86EC-4544-AC42-F927E74B491F}

Informações do elemento

Schema Type

FormXmlControlType

Validation File

FormXml.xsd

Number of Occurrences

0 or 1

XPath

//FormXml/forms/systemform/form/tabs/tab/columns/column/sections/section/rows/row/cell/control

Consulte também

Conceitos

Personalizar formulários de entidade

Outros recursos

Form XML reference

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