Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

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.

How to customize the display delay for SmartInfo pop-up windows

Updated on September 25, 2019

Summary

By default, the amount of time it takes for a SmartInfo popup to display information is one second (1000 ms). On some systems, you may want to override this default setting — for example, to reduce the display delay time.

Explanation

View the SmartInfo display delay setting in the text file webweb smartinfopopup js:

Text File webweb smartinfopopup js

Elsewhere in the text file webweb smartinfopopup js, the default display delay is conditionally specified with the JavaScript variable gSmartInfoDisplayDelay:

var displayDelay = defaultDisplayDelay;

if (typeof(gSmartInfoDisplayDelay) != "undefined") { displayDelay = gSmartInfoDisplayDelay;

}

Suggested Approach

Customize the SmartInfo display delay by setting the gSmartInfoDisplayDelay JavaScript variable in a custom JavaScript rule assigned to the Harness in the Scripts and Styles tab of the Harness form:

var gSmartInfoDisplayDelay=<value in milliseconds>;

For example, you might want to decrease the SmartInfo display delay to 100 milliseconds (ms).

  1. In the Harness form, the Scripts and Styles tab, open the script file setSmartInfoDelay for editing.
  2. In the Text File form for webweb setSmartInfoDelay js, the Main tab, the File Source field, specify the variable value shown in this example or another value that suits your needs:
    var gSmartInfoDisplayDelay=100;
    Harness Scripts and Styles setSmartInfoDelay

Additional Information

SmartInfo feature

Have a question? Get answers now.

Visit the Support 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.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us