Skip to main content


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

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Adding an Anypicker control

Updated on April 5, 2022

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.
  1. Open the harness or section that you want to modify.

  2. On the Design tab, in the Pickers list, drag Anypicker onto the work area.

  3. In the cell that contains the Anypicker control, click the View properties icon.

  4. 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 Automating source synchronization in controls.

  5. In the Search results configuration section, in the Data source property field, specify the property from which you want to source the list.

  6. Select the Use For Search check box.

  7. Select the Categorize check box.

  8. 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.
  9. Click Submit.

  • Selecting the property reference for a control

    Select a property for the control to determine the data type to include in the list that an application user sees. At run time, the user selects one or more values from the list.

  • Automating source synchronization in controls

    Improve the maintainability of your application by defining sources for the values that populate user interface controls. When you tie a control to a list source, the values in the control change automatically to reflect the state of the source, which saves development time.

  • Specifying presentation options for a control

    After you create a control, you configure how the control is displayed. You can specify whether the control is editable at run time, the width of the control, the label format for the control, and one or more CSS helper classes to adjust the control's appearance and placement.

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