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

Smart label clears the page messages



If there is a page message on the screen, and user does a hover on a link, the smart label appears and removes the message from the page.
So user does not get to see the error message.

This is a upgrade project. In PRPC 5.4, it used to work but after upgrading in Pega 7.1.8 and this functionality is not working.

Error Messages

No error message.

Steps to Reproduce

1. Open a case in perform harness. 
2. Click on any flow action. 
3. Submit form such that it does not get successfully submitted and displays a page message. 
4. Now, hover over any link that has smart label.


Reload section which is caused by smartinfo, that hides the error messages.


Local change is to override clearErrorTables function such that it does not clear error message in case of ReloadSection for SmartInfo, as per your requirement. It can be achieved using below script in UserWorkForm:

pega.ui.Doc.prototype.clearErrorTables = function(){
var isSmartInfo = arguments.callee.caller.caller.caller.arguments[4];
var errorTAble = pega.util.Dom.getElementsById("ERRORTABLE", document);
if (errorTAble) {
var len_errorTable = errorTAble.length; //for performance reasons
/*BUG-110460 - In case of custom error section, instead of removing errorTAble, removing the innerHTML of the span */
for (i = 0; i < len_errorTable; i++) {
if(pega.u.d.formErrorType == "NONE"){
var spanEle = pega.util.Dom.getElementsById("ERRORMESSAGES_ALL",errorTAble[i]);

var errorTableSpacer = pega.util.Dom.getElementsById("ErrorTableSpacer", document)
if (errorTableSpacer) {
var len_errorTableSpacer = errorTableSpacer.length; //for performance reasons
for (i = 0; i < len_errorTableSpacer; i++) {
errorTableSpacer[i].style.display = "none";


Published January 31, 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