When adding a field to a form, Dynamics 365 offers some out-of-the-box controls. Depending on the field type, the control improves the user experience by changing how to interact with the field. Each control is dedicated to a single feature.
One of these features is the “Auto-Complete” control. Available for single lines of text fields, these controls let the user choose the field value based on a data set.
There are two types of data sets available: View or Option Set:
- This option requires the data to be stored in an entity through records.
- Option Set
- The data is directly in the option set values.
Once configured, the user will see a drop-down list with the values from the data sets available. Users can then simply choose the desired value that will be added to the field. If a user starts typing some text on the field, the list will get filter accordingly.
Note that the control will not allow the user to add a value that is not part of the view/option set.
Example of usage
This feature can be used to improve the data quality of addresses fields. For example, it can be used to display a list of all countries or Switzerland’s cantons.
- Easy to configure and maintain
- Improves data quality