Graphs not displaying in Web Intelligence reports with N4V FOR WEBI

Anonymised summary of support ticket #671972 (2022-11-24)

Symptom

Graphs created with N4V FOR WEBI extensions do not appear in SAP BusinessObjects Web Intelligence reports. The HTML source code of the report shows an empty or broken iframe element.

Environment

SAP BusinessObjects Web Intelligence 4.2 SP5 with N4V FOR WEBI extensions. Need4Viz webapp deployed on the same Tomcat server as SAP BusinessObjects.

Resolution

  1. Locate the config.js file in the Need4Viz installation directory (e.g., "/Need4Viz/nodejs/node_modules/custom_element/ce_libs/config.js").
  2. Edit the config.js file and update the parameter: var URLNodeJSServer = "[correct_server_url]"; (replace [correct_server_url] with the accessible URL of the Need4Viz webapp).
  3. Save the config.js file.
  4. Restart the Need4Viz services by running the command 'pm2 start all' in an administrator PowerShell window.
  5. Refresh the Web Intelligence report containing the N4V graph. The graph should now display correctly.
  6. Verify that the N4VCustomElements webapp is accessible from the client machines by accessing the URL of the webapp in a browser. A green checkmark image should be displayed. If not, check network/firewall settings to ensure access to the webapp.