Using Advanced Lookup

When working with lookup fields, simply start typing the name of an item and matching results are displayed based on the "Name" column. To view all results in a lookup, click Show All Results for “ ” for the respective lookup field. This opens the lookup window with the searched string populated in the Search field, and displays all the related items in the grid based on other predefined fields.

Example 1: Shows the implementation of the multi-select lookup functionality in the Schedule Billing Event Generation window.

In the Region lookup, enter at least two characters to start the search and click Show All Results for " ".

Select the regions from the grid that you want and click Select.

The selected regions are then added to the Region lookup.

Example 2: Shows the implementation of the single-select lookup functionality in the Filters panel on the Skills Management page.

In the Region lookup, enter at least two characters to start the search and click Show All Results for " ".

The Select Region window opens with the searched string in the search field and all the related items are displayed in the grid. Select the region from the grid and click Select.

The selected region is then added to the Region lookup in the Filters panel.

Note:

If the platform encryption is on for your org, the records in the Resource, Account, and Opportunity search lookup window are filtered based only on the Name field in the grid.

Benefits

The benefits of advanced lookup are:

  • You can easily identify the exact record you want to select. Unlike regular lookup search, which might truncate long names, advanced lookup displays complete names along with important details.
  • You can search records using other important fields of types, such as text, reference, picklist, and text area, in addition to the name.
  • Unlike the limited display of five records in regular lookup search, advanced lookup enables you to view a larger number of records, typically up to 50. This expanded visibility enables you to quickly scan and select the appropriate record from a wider range of options.
  • Advanced lookup can be used on Lightning pages, windows, and grids, supporting both single and multi-select lookups.
  • You can sort the search results.
  • In multi-select lookups, advanced lookup enables you to search within the already selected items. This enables you to refine the search and reduce the number of results within the selected records.
  • Advanced lookup includes additional fields in the search criteria. This enables you to make more informed decisions when selecting records, especially in cases where there are similar name search results. By considering important details from additional fields, you can select the most relevant record.

Limitations

Following are the limitations of the advanced lookup functionality:

  • If lookup fields from a field set are included in a window, filters, or in the columns of a data table, and you search these lookup fields, the window might only show the "Name" column for specific objects and predefined fields for others.
  • The columns in the lookup window are predefined and cannot be added or removed.
  • Searching is limited to columns of text, reference, picklist, and text area data types only.