N4V for Webi: Empty graphs in Web Intelligence reports

Anonymised summary of support ticket #181804 (2023-09-07)

Symptom

All N4V custom elements (graphs, charts) appear empty in SAP BusinessObjects Web Intelligence reports, affecting both existing and newly created reports.

Environment

SAP BusinessObjects Web Intelligence (Webi) with N4V for Webi extension, deployed on a Tomcat server with N4V services running on Node.js. Issue observed in version 4.2 SP8 P8.

Resolution

  1. Check the configuration file of the N4V custom elements (typically located in the Node.js module directory, e.g., `~Need4Viz/nodejs/node_modules/custom_element/ce_libs/config.js`).
  2. Verify the value of the `URLNodeJSServer` parameter in the configuration file. Ensure there is no trailing space in the URL (e.g., `[url]` instead of `[url] `).
  3. Save the configuration file and restart the N4V services using the command `pm2 start all` in an administrator PowerShell window.
  4. Refresh the Webi report or modify the N4V component to force recalculation of the graph.

Other resolution

If the issue persists, collect the source code of the empty frame (right-click > View Frame Source) and export the Chrome console logs (F12) during component rendering for further analysis.