meta data for this page
How to resolve 'Cannot read property 'path' of undefined' error in N4V for Webi Drill Mapline
Anonymised summary of support ticket #206462 (2024-05-16)
Symptom
Error 'Cannot read property 'path' of undefined' occurs when generating a Drill Mapline in SAP BusinessObjects Web Intelligence. The error appears when using custom maps with Mapline or Drill Mapline components.
Environment
SAP BusinessObjects Web Intelligence with N4V FOR WEBI extensions. Custom map files (e.g., cd76_1.js, cd76_2.js, cd76_76.js) configured for Drill Mapline or Mapline components.
Resolution
- Verify the index mapping for custom maps: Ensure the correct index is used for Drill Mapline (e.g., cd76_500 to cd76_509) instead of Mapline indexes (e.g., cd76_200). Update all references in the configuration files accordingly.
- Check the file structure and accessibility: Ensure the custom map file (e.g., cd76_500.js) is correctly placed in the expected directory (e.g., /N4VCustomElements/res/js/highcharts/maps_customs/). Validate that the file is accessible and not corrupted.
- Apply the Need4Viz Setup Maps hotfix: If the issue persists, apply the official hotfix for the cartography setup (e.g., Need4Viz Setup Maps CD76 1.1) to correct directory structure errors. This hotfix does not overwrite existing custom map files.
Other resolution
Clear the browser cache after applying changes to ensure updated resources are loaded.