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

Tooltip for DateTime properties is not working

SA-27561

Summary



Tooltip is not displayed for date/time field using DateTime control.


Error Messages



Not Applicable


Steps to Reproduce



1.Create a DateTime Field and refer it in a Section.
2.Provide a Tooltip for that property using Field Name and Field Value.
3.While running, the tooltip displays only the name(specified by Field Name) of the tooltip not the localized text(specified by Field Value).


Root Cause



A defect in Pegasystems’ code or rules as pxDatetime has no tooltip configurable option.

Resolution



Apply the following local-change steps to address the issue:

1. Go to pxdate time configurations > Presentation > -Advanced Presentation Options.
2. Add a custom css class for your date time (Cell read-write classes) or Cell read-only classes) , .CustomDateTime.
3. Add the below snippet in the custom css file on the harness:

.CustomDateTime :hover:after {
    content: "Your tooltip";
    display: block;
    position: relative;
    top: -16px;
    right: -16px;
    width: 100px;
 }

(OR)

Create the Field Value with the Field Name of “pyCaption”.

Published September 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?

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