Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Configuring an Anypicker control

Updated on December 13, 2022
Applicable to Theme Cosmos applications

Enhance navigation in your application by grouping drop-down list items into expandable categories in the Anypicker control. For example, if your business operates in several cities, use this control to group business locations by region and to help your users quickly select the right option in a drop-down list.

You can source an Anypicker control from a data page, a clipboard page, or a report definition.

Note: You can use the Anypicker control to set up the first level of categorization in a drop-down list. To create embedded categories, define them in the data structure, for example, as embedded pages.
Before you begin: Add an Anypicker control to the layout.

For more information, see Adding UI components to a view.

  1. Open the view with the control that you want to edit.
    For more information, see Accessing views in your application.
  2. In the configuration pane on the right side of the window, hover over the control, and then click the Edit icon.
  3. On the General tab, in the List source section, provide the details of your list source.
    For example: To source your list from a data page, in the Type list, select Data page, and then provide the name of the data page in the Data page field.
    For more information, see Specifying a data source in a control.
  4. In the Search results configuration section, in the Data source property field, specify the property from which you want to source the list.
  5. Select the Use For Search checkbox.
  6. Select the Categorize checkbox.
  7. In the Category Property field, enter the property that you want to use to categorize search results.
    For example: Your source is a list of locations that includes the City and State database columns. To group the locations by state, in the Category Property field, enter .State.
  8. Click Submit.
What to do next: Configure the remaining settings. For more information, see Configuring common control settings.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us