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

HandleClienEvent not functioning as expected in IE11



User has designed HandleClienEvent function for a OnClick Event by supplying the eventType as Server, which refreshes the current section. 

However refresh is not happening and an error has been thrown. In the tracer the BaseReference is null in non-working scenario.

Error Messages

UI: "Application has encountered an error.Please contact system administrator."

In Tracer :  ” Failed to find a 'RULE-OBJ-ACTIVITY' with the name 'ABC' that applies to 'ABC-XYZ'.

There were two rules with this name in the rulebase, but none matched this request. The two rules named 'ABC' defined in the rulebase are: 2 unrelated to applies-to class 'ABC-XYZ', for example: 'CDE-PQR.”

Steps to Reproduce

1) Use HandleClienEvent for an onclick event. 
2) Mention eventType as SERVER. 
3)Observe that Refresh does not happen throws an error.

Root Cause

An issue in the custom application code or rules  : Developers have injected APIs like getElementById into HTMLElement. This makes every element to inherit these APIs. Finding the base ref while refreshing the section fails due to this. findParentNamed API has code to stop dom traversal if the element has getElementById : 
while (parent && !parent.getElementById) { 


Removing getElementById injection from the userscode, fixes the problem.


Published February 12, 2016 - 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