meta data for this page
How to fix HTML export filename encoding issue for N4V FOR WEBI dashboards
Anonymised summary of support ticket #849761 (2026-03-27)
Symptom
In N4V FOR WEBI HTML exports, section filenames containing special characters (e.g., hyphens '-') are not consistently encoded, causing 'Element not found' errors when the JavaScript index.html tries to locate the corresponding file. The export generates filenames like 'tbd_dep._fonct._1_-_budget_eau.html', but the JavaScript replaces hyphens with underscores, looking for 'tbd_dep._fonct._1___budget_eau.html'.
Environment
N4V FOR WEBI extension for SAP BusinessObjects Web Intelligence (Webi), HTML export feature, Tomcat server environment.
Resolution
- Locate the 'index.html' file in the N4V HTML export directory.
- Modify the JavaScript functions responsible for filename encoding by updating the regex pattern from:
- replace(/[^a-z0-9_\.]/gi, '_')
- to:
- replace(/[^a-z0-9_\-\.]/gi, '_')
- This ensures hyphens are preserved in filenames during JavaScript processing.
- Note: For automated HTML exports via publication, the correction must be applied to the template or re-applied post-export, as the issue is resolved in a subsequent N4V HotFix.
Other resolution
For dynamic content updates outside Webi, use N4V tables instead of pure Webi cells. Logo and color customizations from Webi may not be preserved in the HTML export and require manual reconfiguration in the exported files.