Chapter 4. Building Lookups
In this chapter, we will cover the following recipes:
Creating an automatic lookup
Creating a lookup dynamically
Using a form for building a lookup
Building a tree lookup
Displaying a list of custom options
Another way of displaying custom options
Building a lookup based on record description
Building the Browse for Folder lookup
Building a lookup for selecting a file
Creating a color picker lookup
Introduction
Lookups are the standard way to display a list of possible selection values to the user, while editing or creating database records. Normally, standard lookups are created automatically by the system, and are based on extended data types and table setup. It is also possible to override the standard functionality by creating your own lookups from the code or using the Dynamics AX forms.
In this chapter, we will cover various lookup types, such as file selector, color picker, or tree lookup, as well as the different approaches to create them.