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

Charts are lost on clicking the configured link

SA-87668

Summary



A link is configured such that on click of the link, a custom script is written to open a mailbox.
On clicking the configured link, the charts do not display.



Error Messages



Not Applicable


Steps to Reproduce

  1. Configure or add Charts in a section.
  2. Configure the link with a click and RunScript action set.
  3. Add the window.location.href = "mailto:xyz" custom script to open the mailbox.
  4. Click the link. The charts in the section do not display.


Root Cause



The window.location.href in the custom  script cleared the SVG charts in the section.


Resolution



Perform the following local-change:
  1. Execute the custom function which contains window.location.href.
  2. Refresh the section.
  3. Use the below JavaScript:

    var newWindow = window.open("mailto:" + emailId);
    newWindow.close();
    ​​

Published 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