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 Tip populates twice post Pega 8 upgrade

SA-103410

Summary



For grid headers, SmartTips  are configured in the Actions tab of the 'Text' control. Post upgrade to Pega Platform 8.3.1, the grid headers display the native Tooltip and the SmartTip. Hence, SmartTip is populated twice.




Error Messages



Not Applicable


Steps to Reproduce

  1. Upgrade Pega Platform 7.2.2 to Pega Platform 8.3.1.
  2. Launch the screen with the grid that has Smartips configured.
  3. Hover over the Grid headers.


Root Cause



A defect or configuration issue in the operating environment.

The SmartTip populated twice because the below code was commented in Pega 7.2.2.


/*
ClipboardPage headerCellpage = cp_thisCell.getParentPage().getParentPage().getProperty("pyRows").getPageValue(1);
headerCellpage = headerCellpage.getProperty("pyCells").getPageValue(cp_thisCell.indexOf());
String pyHeaderTitle = StringUtils.crossScriptingFilter(headerCellpage.getStringIfPresent("pyHeaderTitle"));
pyHeaderTitle = "<%= tools.getProperty(\"" + pyHeaderTitle + "\").getStringValue() %>";
//Construct gridHeader Tooltip
if(pyHeaderTitle != null && !pyHeaderTitle.equals("")){
    if(bLocalize){
        columnHeaderTitleStr = ("th".equals(cellPrefix) || "li".equals(cellPrefix))?"
tools.appendString(tools.getLocalizedTextForString(\"pyToolTip\", \"" + pyHeaderTitle + "\", StreamBuilder.FMT_NORMAL)); ":"";       
        

    } else {
        columnHeaderTitleStr = ("th".equals(cellPrefix))?" tools.appendString(\"" +  pyHeaderTitle + "\"); ": "";       
    }  
}*/'


Resolution



Perform the following local-change:
  1. Clear the 'pyHeaderTitle' (displayed in the Tooltip label in the Label properties panel) configuration property for all the grid headers set in the section containing the grid. 
  2. Configure or remove the Tooltip for all the headers.

Published May 29, 2020 - Updated December 2, 2021

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