Skip to content

Lookup

Description

Allows a field to reference an existing value from a related business object based on the user input.

Display Format

Supports the following types of display formats

Format Description
Type Ahead Suggests a valid value for the field based expanding on the user input
Drop Down Provides a list of values as a Drop Down. Allows a default value to be specified
Tiles Shows lookup choices as selectable cards, including choices that depend on another field. See Tiles on forms.

Additional Properties

Additional properties that can be defined for the field

Property Description
Business Object The related business object that stores the records to be referenced by the lookup field
Primary Key The primary key that can be used to reference the required row on the table
Primary Field The name for the primary key that needs to be displayed to the user
Additional REST query needed for retrieving the record set An optional field-level query for narrowing the available records
Additional Display Attributes Other attributes to retrieve for display, rules, or events
Order By Dictates the attribute that can be used to order the retrieved record set

When the same mapped lookup field appears more than once on a form, such as on separate pages or with different display formats, the published form includes the combined Additional Display Attributes from those instances. Each instance keeps its own Primary Field and display format. The instances must use the same Business Object, Primary Key, and lookup query settings. If these differ, update the field configuration before publishing.

For lookup filtering and reuse, configure a Reference Data Query on the form and select it for the lookup field. Prefer this over entering an Additional REST query separately on each field instance. Include any attributes needed by display rules, validations, or events in the query's Additional Stored Attributes.

Example

Learn more on using lookups in this example