In Microsoft Dynamics 365, fields define the individual data items that can be used to store data in an entity. Fields are sometimes called attributes by developers. You can use the customization tools in the solution explorer to edit system fields that allow customization, or to create, edit, or delete custom entities.
Create new fields to capture data when existing system entities don’t have fields that meet your requirements.
After you create new fields, be sure to include them on the forms and views for the entity so that they are available from the Microsoft Dynamics 365 user interface.
Create and edit fields:
1. Navigate to Microsoft Dynamics 365 > Settings > Solutions click on your work solution and from solution explorer Under Components, expand Entities, and then expand the entity you want.
2. Click on Fields OR choose the Forms node open a form in the form editor and below the Field Explorer click New Field to create a new field OR for any field already added to the form you can double-click the field to display the Field Properties. On the Details tab, click Edit.
3. To add a new field, on the Actions toolbar, click New, and then enter a Display Name to generate the Name.
- OR -
To edit a field, select it in the list, and then on the Actions toolbar, click Edit. You can make changes to the following fields:
b. Searchable, select whether to include this field in the list of fields shown in Advanced Find for this entity and also in the field available for customizing the find columns in the Quick Find view and the Lookup view.
c. Field Security, enable or disable the feature for this field.
d. Auditing, enable or disable the feature for this field.
4. For new fields, select the Type, and then enter required information for that type. For existing fields, you cannot modify the type, but you can modify the settings for the type.
5. Enter all the details above and Click Save and Close to close the form editor.
6. Publish your customization.
Types of fields:
The following table contains information about the field types available in Microsoft Dynamics 365.
|
Field type |
Description |
Available field data type |
|
Simple field |
Contains data that is not based on a formula. |
Single Line of Text, Option Set, Two Options, Image, Whole Number, Floating Point Number, Decimal Number, Currency, Multiple Lines of Text, Date and Time, Lookup |
|
Calculated field |
Contains calculations that use fields from the current entity or related parent entities. |
Single Line of Text, Option Set, Two Options, Whole Number, Decimal Number, Currency, Date and Time |
|
Rollup field |
Contains an aggregate value computed from the records related to a record, or a value computed over a hierarchy. |
Whole Number, Decimal Number, Currency, Date and Time |
Possible data types for a field: The following table contains information about the field data types available in Microsoft Dynamics 365.
|
Data Type |
Notes |
|
Single Line of Text |
The
following formats are available: |
|
Option Set |
Select an existing option set, or define a new one. |
|
Two Options |
After creating this field, configure it in the form to which it was added. In the form, select whether the field is displayed as option buttons (also known as radio buttons), a check box, or a list. |
|
Image |
Each entity can have one image field. When an entity has an image field it can be configured to display the image for the record in the application. |
|
Whole Number |
The
following formats are available for this field: |
|
Floating Point Number |
Select up to 5 precision points. You can set the minimum and maximum values. |
|
Decimal Number |
Select up to 10 decimal points. You can set the minimum and maximum values. |
|
Currency |
When
you add a currency field to an entity, a corresponding (Base) field is also
created. The (Base) field also has a currency data type. |
|
Multiple Lines of Text |
This is a scrolling text box. You can set the maximum number of characters for this field. |
|
Date and Time |
There are two formats: date only or date and time. |
|
Lookup |
You can create a lookup field using an entity relationship that has already been created, but not yet used with another lookup field. If you create a lookup field in an entity form, the relationship is automatically generated. A lookup field is created as a relationship field. |
|
Customer |
A
lookup field that you can use to specify a customer, which can be an account
or contact. |
Important Note: Once a field is created you cannot change field Name/ logical name and data type. Whereas field Display Name, Field Requirement, Searchable, Auditing, Field Security is editable.
No comments:
Post a Comment