meta data for this page
How to fix missing variable initialization in custom map files for N4V FOR WEBI drill-down
Anonymised summary of support ticket #417897 (2026-06-22)
Symptom
Custom drill-down map (e.g., EPCI to Commune) appears entirely blank in SAP BusinessObjects Web Intelligence after selection, despite being listed in the dropdown.
Environment
N4V FOR WEBI extension for SAP BusinessObjects Web Intelligence, using custom map files (e.g., bfc_150.js, bfc_1.js) deployed in Tomcat's N4VCustomElements directory. Maps generated via MapShaper and declared in Need4Viz configuration files.
Resolution
- Ensure the top-level map file (e.g., bfc_150.js) includes proper variable initialization at the start of the file, such as: 'var mapData = {...};'.
- Verify that all map files (including child levels) use consistent field names for labels. If the 'name' field is missing, either: a) Add the 'name' field to each map file, or b) Update the map settings in Need4Viz to map the correct label field (e.g., 'nom' to 'name').
Other resolution
Maps must be properly formatted and reduced in size (e.g., using MapShaper) to ensure compatibility. The 'hc-key' field in parent maps must correctly reference child map files.