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
- Upgrade Pega Platform 7.2.2 to Pega Platform 8.3.1.
- Launch the screen with the grid that has Smartips configured.
- 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:
- 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.
- Configure or remove the Tooltip for all the headers.
Published May 29, 2020 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.