Pega Constellation | Widgets Visible Condition

Hi,

In Pega Constellation We are having two widgets in our Portal, whatever actions we are performing in first widget based on that we need to display the second widget

What is the best way to do this?

@LokeshK6968 best is to send event message between the 2 widgets - DOM events - Web APIs | MDN

Hi @LokeshK6968

To achieve your goal of displaying the second widget based on actions in the first widget, consider the following approaches:

Visibility Conditions: Configure visibility conditions for widgets. You can set conditions based on user actions, property values, or other criteria.

Custom DX Components: Leverage custom DX components to create specialized widgets. For example, you can build a custom calendar widget or implement a compare-and-select pattern using custom components.

Constellation DX API: Programmatically combine core Constellation presentational components and build your own custom components using the Constellation DX API.

Best Practices:

Keep the UI clean and intuitive by showing relevant widgets only when needed.

Test your configurations thoroughly to ensure consistent behavior across different scenarios.