Viswanath Samudrala (Viswa_CTS)
Cognizant Technology Solutions

Cognizant Technology Solutions
Viswa_CTS Member since 2011 2 posts
Cognizant Technology Solutions
Posted: March 22, 2016
Last activity: June 23, 2016
Posted: 22 Mar 2016 22:12 EDT
Last activity: 23 Jun 2016 5:09 EDT

Modify UI element configuration based on an event

Hello everyone,

I have a requirement where configuration of a UI element needs to be modified based on selection of a checkbox. Other than defining multiple UI elements for the same property and displaying only 1 of them conditionally can work for me but this is not really a clean way of implementing it. In other programming languages, we can modify the configuration of a UI element from JS or by making server calls. Is there a similar functionality provided in Pega 7?

Example, on checking a checkbox, format button should become Strong from Default.

Can we write JS for it? If so, how could we refer to the element we are looking for and how do we call our function? Or can Activities do it? How to get the handle of the UI element? Any way other than defining in an Activity?

Project Delivery
Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.