This documentation is archived and is not being maintained.
Field Type Reference
Forefront
![]() |
[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 Type | Attribute type in Microsoft Dynamics CRM | Description |
| Boolean | bit | One check box or two radio buttons. |
| Customer | lookup | A lookup field to select a customer. |
| Date/Time | datetime | Calendar 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. |
| Decimal | decimal | Entry of numeric values with configurable number of decimal places. |
| Duration | int | Drop-down control that displays 23 duration options from 1 minute to 3 days. |
| E-mail Body | ntext | Displays a multiline text box with scrollbars. |
| Float | float | Entry of numeric values with configurable number of decimal places. |
| Integer | int | Numeric values only. |
| Lookup | lookup | A lookup field to select an entity instance. |
| Memo | nvarchar | Displays a multiline text box with scrollbars. |
| Money | money | Entry of numeric values displayed with currency symbol. Number of decimal places is configurable. |
| PartyList | lookup | A lookup field to select a list of parties. |
| Picklist | picklist | Drop-down list control. |
| Picklist | bit | Drop-down list control with two possible options |
| Regarding | lookup | A lookup field to select an entity instance. |
| State | nvarchar | Displays a text field that displays the state. |
| StatusReason | nvarchar | Displays a text field that displays the status reason. |
| String | nvarchar | Displays text on one line. |
See Also
Concepts
Reference
- All Field Types
- Boolean
- Customer
- Date/Time
- Duration
- E-mail Body
- Float
- Integer
- Lookup
- Memo
- Money
- PartyList
- Picklist
- Regarding
- State
- StatusReason
- String
Other Resources
© 2010 Microsoft Corporation. All rights reserved.
Show:
