Lotus Notes Email Javascript Error
the body of an e-mail Technote (troubleshooting) Problem(Abstract) 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 Cause The embedded Lotus Notes browser does not display MIME e-mail formats correctly Resolving the problem In Lotus Notes, disable Javascript error dialogs and Disable embedded browser for MIME mail. Steps: In the Lotus Notes client go to File > Preferences > Basic Notes Client Configuration > Additional Options and select (check) "Disable embedded browser for MIME e-mail" and deselect (uncheck) "Enable JavaScript error dialogs" Cross reference information Segment Product Component Platform Version Edition Business Analytics Cognos Business Intelligence -- AIX, HP-UX, HP Itanium, Linux, Solaris, Windows 8.3, 8.4, 8.4.1 Document information More support for: Cognos 8 Business Intelligence Software version: 8.3, 8.4, 8.4.1 Operating system(s): AIX, HP-UX, Linux, Solaris, Windows Reference #:
Data Management and Storage View All Archiving Backup and Recovery Clustering Database Management Hardware Management Replication and Synchronization Storage Management IBM Lotus Messaging and Collaboration Clients View All Domino Web Access (iNotes) Lotus Notes 5 Lotus Notes 6 Lotus Notes 7 Lotus Notes 8 Lotus Sametime Instant Messaging Mobile Devices IBM Lotus Messaging and Collaboration Servers View All IBM WebSphere Lotus Domino Server 5 Lotus Domino Server 6 Lotus Domino Server 7 Lotus Domino Server 8 Lotus Quickr Notes/Domino Administration View All Domino Directory http://www-01.ibm.com/support/docview.wss?uid=swg21428782 Administration Tools AdminP LDAP Calendar and Contact Management Interoperability Licensing Monitoring and Logging Performance User Settings Notes.ini Notes/Domino Coding and Development View All Ajax Development Security Eclipse HTML J2EE Java JavaScript LEI and DECS Domino Designer Agents Application Development Formula LotusScript Mobile and Wireless Development Web Development XML and Web Services Notes/Domino Data Management http://searchdomino.techtarget.com/answer/JavaScript-error-encountered-when-opening-Lotus-Notes-email and Storage View All Archiving Backup and Recovery Clustering Database Management Hardware Management Mailbox Management Replication and Synchronization Storage Management Notes/Domino Deployment and Migration View All Deployment and Migration Advice Deployment and Migration Tools Notes/Domino Security View All Compliance Management Compliance tools Access, Permissions and Authentication Antispam Software and Spam Filtering Antivirus Software and Virus Protection Email Compliance Email Encryption Firewalls Password Management Phishing and Email Fraud Protection Policy Management Topics Archive View All Domino Resources Domino Resources - Part 2 Domino Resources - Part 3 Domino Resources - Part 4 Domino Resources - Part 5 Domino Resources - Part 6 Domino Resources - Part 7 Domino Resources - Part 8 Please select a category IBM Lotus Messaging and Collaboration Clients IBM Lotus Messaging and Collaboration Servers Notes/Domino Administration Notes/Domino Coding and Development Notes/Domino Data Management and Storage Notes/Domino Deployment and Migration Notes/Domino Security Section Problem Solve News Get Started Evaluate Manage Problem Solve Sponsored Communities Q JavaScript error en
that make connections all over the world. Join today Download & Extend Drupal Core Distributions Modules Themes Printer, email https://www.drupal.org/node/453350 and PDF versionsIssues [email] Lotus Notes Javascript Error Closed (fixed)Project:Printer, email and PDF versionsVersion:5.x-4.6Component:CodePriority:NormalCategory:Bug reportAssigned:UnassignedReporter:ryan.naumanCreated:May 4, 2009 - 17:15Updated:May 4, 2009 - 19:00 Log in or register to update this issue Within Lotus Notes, when an email is opened I receive the error: "A JavaScript Error was encountered while loading a page. Error on lotus notes line 11: ReferenceError: Drupal is not defined" I have disabled sending the logo within the email, other than that all settings are default. I don't see why javascript is being sent with the email. Lotus notes is notorious for terribly rendering items so I have no problem editing a particular file if the javascript lotus notes email is necessary but a nuisance in my niche email client market. Help appreciated Comments Comment #1 jcnventura CreditAttribution: jcnventura commented May 4, 2009 at 6:13pm Status: Active » Postponed (maintainer needs more info) Hi, Javascript is being sent with the e-mail because the original page includes it and the sent e-mail includes the full content of the original page (including the scripts). If you don't want scripts in any output version of the module, simply delete the scripts line in print.tpl.php. If you just want to disable javascript in the email, copy the print.tpl.php to print_mail.tpl.php and delete the same line in the new file.. João Log in or register to post comments Comment #2 ryan.nauman CreditAttribution: ryan.nauman commented May 4, 2009 at 7:00pm Status: Postponed (maintainer needs more info) » Closed (fixed) Ah didn't see print.tpl.php there, removed that line and it works great. Thanks Log in or register to post comments Add child issue, clone issue News itemsDr