This documentation is archived and is not being maintained.

Field Type Reference

Forefront
banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

The label for a field can differ from the schema name for the entity attribute. All Microsoft Dynamic CRM form fields have an ID value equal to the schema name of the entity attribute.

To access the properties and methods of the field objects within the crmForm, use the schema name of the entity attribute. For example, to access the Topic field in a Lead form, use the syntax crmForm.all.subject.

The following table lists the field types that are supported.

Field TypeAttribute type in Microsoft Dynamics CRM Description
BooleanbitOne check box or two radio buttons.
CustomerlookupA lookup field to select a customer.
Date/TimedatetimeCalendar control. Allows for selection of:

Date only in MM/DD/YYYY format

Date and time with calendar control for date and drop-down control for time.

DecimaldecimalEntry of numeric values with configurable number of decimal places.
DurationintDrop-down control that displays 23 duration options from 1 minute to 3 days.
E-mail BodyntextDisplays a multiline text box with scrollbars.
FloatfloatEntry of numeric values with configurable number of decimal places.
IntegerintNumeric values only.
LookuplookupA lookup field to select an entity instance.
MemonvarcharDisplays a multiline text box with scrollbars.
MoneymoneyEntry of numeric values displayed with currency symbol. Number of decimal places is configurable.
PartyListlookupA lookup field to select a list of parties.
PicklistpicklistDrop-down list control.
PicklistbitDrop-down list control with two possible options
RegardinglookupA lookup field to select an entity instance.
StatenvarcharDisplays a text field that displays the state.
StatusReasonnvarcharDisplays a text field that displays the status reason.
StringnvarcharDisplays text on one line.

See Also

Concepts

Reference

Other Resources


© 2010 Microsoft Corporation. All rights reserved.


Show: