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
- Configure or add Charts in a section.
- Configure the link with a click and RunScript action set.
- Add the window.location.href = "mailto:xyz" custom script to open the mailbox.
- 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:
- Execute the custom function which contains window.location.href.
- Refresh the section.
- Use the below JavaScript:
var newWindow = window.open("mailto:" + emailId);
newWindow.close();
Published December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.