meta data for this page
How to resolve CSV export issues in N4V for Webi when using cross-domain HTML exports
Anonymised summary of support ticket #634421 (2026-09-10)
Symptom
The CSV export button in N4V-generated HTML graphs does not work when the HTML is hosted on a different domain than the Webi server. The browser console shows a cross-origin error (e.g., 'Uncaught SecurityError: Failed to read a named property from Window: Blocked a frame with origin ... from accessing a cross-origin frame'). Additionally, the error 'dispExportCSV is not defined' may appear if the N4VCustomElements webapp is outdated.
Environment
N4V for Webi (SAP BusinessObjects Web Intelligence) with HTML exports hosted on a domain different from the Webi server. The issue occurs in Chrome/Edge due to CORS policies.
Resolution
- Ensure the N4VCustomElements webapp is updated on the external hosting server by copying the latest version from the Webi Tomcat deployment directory to the external server.
- If the issue persists, update N4V to the latest version (e.g., 2026.2.2) and apply the relevant HotFix that includes CORS-compliant CSV export functionality.
- Clear the browser cache after updating files to avoid loading outdated JavaScript resources.
Other resolution
The CSV export functionality is part of the N4V webapp (N4VCustomElements) and requires both the backend (Webi server) and frontend (hosted HTML) components to be synchronized. Cross-domain restrictions must be addressed either by updating N4V or configuring CORS policies on the hosting server.