How to fix encoding issues when customizing map files for N4V FOR WEBI

Anonymised summary of support ticket #518709 (2021-04-22)

Symptom

Custom map entries defined in list_genmaps.json do not appear in the Mapline component options in SAP BusinessObjects Web Intelligence. The file may contain incorrect encoding (e.g., UTF-8-BOM) or syntax errors.

Environment

N4V FOR WEBI (Need4Viz extensions for SAP BO Web Intelligence), Web Intelligence client, Mapline component, Node.js environment, Windows OS.

Resolution

  1. Open the list_genmaps.json file located in the Need4Viz Node.js module under custom_element/ce_settings/lang_EN.
  2. Ensure the file is encoded in UTF-8 without BOM (Byte Order Mark). Use a text editor like Notepad++ to re-encode the file if necessary.
  3. Verify the JSON syntax is correct when adding new entries. Example of a valid entry: { "id": "dk3", "name": "Denmark: Rødovre School Districts", "description": "" }
  4. Save the file and refresh the Web Intelligence document to see the updated map list in the Mapline component options.

Other resolution

Always back up the original file before making changes. Incorrect encoding or syntax may cause the extended parameters to fail displaying in Web Intelligence properties.