Implementing Warnings in Search and Select in Pega Infinity ’26 ⚠️

Pega Infinity ’26 provides the ability to display contextual warnings for records within Search and Select.

Demo : https://youtu.be/6a-MIIft71Q?si=U0chHlcJn16kn3_-

Configuration

Start with a Data Reference field configured to use Search and Select.

Open the source List Data Page used by the field and configure a Response Data Transform.

The Response Data Transform processes the retrieved results before they are returned to Search and Select. This is where the warning information can be populated based on your application’s business requirements.

To return a warning in Search and Select, you can use the out-of-the-box property pyWarningList, which carries warning information alongside each record returned from the Data Page.

The pyWarningList is a Page List, where each entry is of the class Embed-APIWarning. Within each Embed-APIWarning page, the warning text is defined using the pyMessage property. This is what Search and Select displays in the UI.

populate pyMessage with the required warning text for each record. The message can be static or dynamically derived from the Data Page response or business logic in the Response Data Transform.

Runtime Behaviour

When the Data Page is executed, the warning information is returned through pyWarningList along with the search results.

You can verify this by running the Data Page and inspecting the response, where pyWarningList contains the corresponding pyMessage.

At runtime, Search and Select uses this warning information to display the contextual warning for the corresponding record.

This provides additional context directly within the selection experience, helping users make a more informed choice without interrupting their workflow.

6 Likes

I must say, I’m quite impressed with the enhancements Pega has introduced to its popular, established patterns , especially where improvements were always asked for. Pega product teams are listening to the community :slight_smile:

@Anandhuc17408577, your series of posts continues to add real value to the community. Keep up the great work!

1 Like

Yes, definitely @MidhunKrish ! Infinity ’26 makes many capabilities much easier to configure OOTB, especially those that previously involved additional customization or custom DX components in Constellation.

1 Like