Use an autocomplete control to allow the user to select a value from a possibly large set of searched text values, based on a partial string match. The Pega Platform dynamically assembles and displays a list of candidate matching values after the user types one or a few characters of input.
Before you add an autocomplete control, consider the following information.
Page List
or class Code-Pega-List) that is to be searched. When using a clipboard page as the source of values, determine whether the clipboard page will be available at runtime when the data is needed. For example, when the flow action or user form appears, is the work item present with appropriate data, or do you need to build an activity to construct it?Page Group
page of class Code-Pega-List, with each embedded page containing the values of the pyLabel property and of the property containing the text values to be displayed (the display field).pyDataSourcePageName
containing the fully qualified name of the Page Group
page (or include a Show-Page method step for that page).To add an autocomplete control, perform the following steps.
To view and interact with examples and review configurations, select Designer Studio> User Interface > UI Gallery and then select Autocomplete in the Components group.