Troubleshooting
Problem
When viewing HTML reports in the body of an e-mail with the Lotus Notes 8.x e-mail client you see a Javascript error pop-up dialog and Javascript appears in the body of the e-mail.
Symptom
When viewing HTML reports in the body of an e-mail with the Lotus Notes 8.x e-mail client you see a Javascript error pop-up dialog and Javascript like the following appears in the body of the e-mail above the report output.
var gCognosViewerId = "_THIS_"; var sLocation = document.location.search; if (sLocation.match(/cv\.id=([^&?]*)/)) { gCognosViewerId = RegExp.$1; } function getCognosViewer() { var cognosViewer = null; try { cognosViewer = eval("parent.oCV" + gCognosViewerId); } catch(e) { cognosViewer = null; } return cognosViewer; } function onClickEvent(evt) { var cognosViewer = getCognosViewer(); if(cognosViewer != null) { cognosViewer.rvMainWnd.pageClicked(evt); } };
<
The report does display correctly with no Javascript errors when received in Outlook and other e-mail clients
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
13 January 2026
UID
swg21428782