How to modify or troubleshoot N4V for Webi URL configuration and custom elements

Anonymised summary of support ticket #422728 (2023-02-16)

Symptom

After installing N4V for Webi, users encounter issues related to URL configuration, whitelisting, or custom elements not displaying correctly (e.g., empty drill bars).

Environment

SAP BusinessObjects Web Intelligence (Webi) with N4V extensions, Tomcat server, N4V services deployed on the same or separate server. HTTPS and SAML configurations may be present.

Resolution

  1. To modify the BO URL post-installation:
  2. 1. Use the N4V administration console (available from version 2022.3.0) to update the URL setting, or
  3. 2. Edit the 'config.js' file located in the 'Need4Viz\nodejs\node_modules\custom_element\ce_libs' directory. Update the Tomcat port (e.g., 443 for HTTPS) and other relevant parameters.
  4. 3. Restart N4V services using the administration console or the command 'pm2 start all' (run as administrator in PowerShell).
  5. For whitelisting issues:
  6. 1. Ensure the N4V service URL (e.g., localhost for services on the same server) is added to the allowed URLs list in the N4V configuration.
  7. 2. Verify that the URL is accessible from user workstations (e.g., by checking if the URL returns the expected N4V icon).
  8. For custom elements not displaying (e.g., empty drill bars):
  9. 1. Confirm that RESTful APIs are properly configured as per the installation documentation.
  10. 2. Check the 'config.js' file for correct Tomcat port (443 for HTTPS) and other settings.
  11. 3. Restart N4V services and refresh or recreate the custom element (e.g., drill bar).
  12. 4. If using HTTPS and SAML, ensure compatibility with N4V services.

Other resolution

When configuring the Tomcat URL during installation, use the Tomcat server's URL (not the BO portal URL). For HTTPS environments, ensure the port is set to 443. If an alias with redirection is used, verify that the redirection does not interfere with N4V service accessibility.