Support Article
Buttons are not working in Firefox and Chrome browser
SA-17191
Summary
There are few buttons in user's application, which do not work in Chrome and Firefox browsers. But the same works fine in IE for PRPC 6.3 SP1 .
The buttons are configured using out of the box rule pxButton, which calls a javascript function and this function inturn calls an activity.
Error Messages
No error message.
Steps to Reproduce
1) Create a button control using pxButton.
2) Configure RunScript event and call a javascript method.
Root Cause
A software use or operation error: User javascript method has statement. That is:
httpRequestAsynch(safeUrl.toURL(), null, 50, 100);
The above method is compatible only with IE browser as it is using Microsoft.XMLHTTP to build the ajax call.
Resolution
Perform the following local-change:
Instead of the "httpRequestAsynch" statement use "pega.util.Connect.asyncRequest('GET', safeUrl.toURL(), null);" statement to work in cross browsers.
The issue will exist only in PRPC 6 versions. From Pega 7, "httpRequestAsynch" method is optimized work in cross browsers.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.