Picklist field defined as a search criteria inside Search & Select Pattern screen is displayed as text input box
I need to add few fields in the search criteria of the Search & Select patter in Pega Constellation view. These fields are sourced from a data type through a data page. But we the search and select screen is launched in the actual case, these fields are being displayed as input boxes. I am using Pega 24.1.
Can you some one please help, if this an expected behavior or any hot fix is available for this issue.
@AmitK349
In Constellation, the Search & Select criteria render from the field’s metadata, so if your criteria fields show as text, it’s because those properties are not defined as Picklist fields. Fix it this way: in App Studio go to the data type, edit the field to Type = Picklist, and set the options source to your data page (list structure) with value and caption mappings. Use that same field in the Search & Select view (don’t create a separate text property on the case for filtering). Make sure the data page returns a list and you’ve mapped the Value field (code/id) and Caption field (label) in the Picklist configuration. After changing field types, clear caches: Save & run, then Dev Studio > Static content > clear, or simply log out/in to refresh. If it still renders as text, explicitly set the control to Dropdown in the view for that field. This behavior is expected on 24.1 when the field isn’t a Picklist; if you already did all of the above and it still fails, move to 24.1.x maintenance or 24.2 or open an SR for the known fix.