Skip to main content

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.

Support Article

Property control's refresh section is not calling the Activity

SA-37067

Summary



After configuring a TrashButton control with an onClick event that calls a refresh section and fires an activity, it appears not calling the activity at run time.


Error Messages



Not Applicable


Steps to Reproduce

  1. Create a Grid layout and define a property with a TrashButton control as one of the columns.
  2. Go to the Actions tab and define an onClick event.
  3. Choose refresh the section as the action.
  4. Call an activity using the refresh section action.
  5. Observe the activity is not being called as expected.


Root Cause



An issue in the custom application code or rules.

The TrashButton control already has a predefined onClick event specified which does not allow for this type of customization.

Resolution



Perform the following local-change:

Update the control directly to call the targeted activity
onClick via customization​.

Published May 15, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration 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 Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us