How to install and configure multiple versions of N4V FOR WEBI on the same server

Anonymised summary of support ticket #905407 (2026-02-23)

Symptom

Need to test multiple versions of N4V FOR WEBI simultaneously on the same server without interfering with existing installations.

Environment

SAP BusinessObjects Web Intelligence environment with N4V FOR WEBI extensions. Server running Tomcat or similar application server.

Resolution

  1. Install the new version of N4V FOR WEBI on a dummy server to obtain the necessary files (Node.js and N4VCustomElements webapp).
  2. Copy the entire Node.js folder and the N4VCustomElements webapp folder from the dummy server to the target server.
  3. Rename the N4VCustomElements webapp folder on the source server to avoid conflicts (e.g., N4VCustomElements_v2).
  4. Copy the renamed N4VCustomElements webapp folder to the target server.
  5. Rename the custom_element folder on the source server to custom_element_v2 to preserve the original version.
  6. Copy the full Node.js content to the target server. The custom_element folder on the target server will now contain the original version, while custom_element_v2 will contain the new version.
  7. Update the config.js file in the custom_element_v2 folder to point to the renamed N4VCustomElements webapp and adjust paths accordingly.
  8. Duplicate and adapt the apps_need4viz.json file to launch the new version of N4V FOR WEBI.
  9. Ensure ports and service names are unique to avoid conflicts between instances.

Other resolution

This procedure is manual and requires careful configuration. For production environments, it is strongly recommended to use a dedicated server for testing new versions of N4V FOR WEBI.