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.

Defining Custom Buttons

Updated on September 10, 2021

This presentation is part of the Advanced UI Techniques Self-Study Course.

Transcript

Custom Radio Buttons

List Views can be used to format results sets.  Inherently, List View rules allow for the single and multiple selections of results for further processing.  However, there are situations where this functionality cannot be used, such as displaying Page-List elements embedded within another object.

In PRPC 5.3 there is a comprehensive set of radio button definitions that allow you to select results from a list view.  If you have version 5.3 or later, investigate the out of the box offering before using the solution detailed above.

Custom Buttons

Using standard Rule-HTML-Section functionality, it is possible to include a button on a screen that calls an activity to perform an action and ultimately repaint the screen.  However, there are situations where it is more practical to include the button within a Rule-HTML-

Property definition so that each time the property is displayed a defined activity can also be invoked.

For example, for each display where you intend to capture an address, a button has been included to call an activity to perform an address lookup.  This button has been defined within the Rule-HTML-Property.  Within the Address Lookup Rule-HTML-Property rule, there is the defined logic and a display of the entered value, as well as the simple script to invoke an activity.

Our activity has set simple values on the page and repaints the screen.  When the Address Lookup button is clicked, the activity is invoked, properties are populated, and the screen is redisplayed.

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