How to configure HTML export in N4V for Web Intelligence and control export paths

Anonymised summary of support ticket #126345 (2024-07-19)

Symptom

Users need to export N4V visualizations in Web Intelligence to HTML format but require controlled access to export destinations to prevent unauthorized writes to server folders.

Environment

SAP BusinessObjects Web Intelligence with N4V FOR WEBI extension. N4V servers running on Tomcat or similar application servers. Configurable via config.js file.

Resolution

  1. To enable HTML export for N4V elements, set the parameter 'export_HTML' to 'true' in the config.js file of each N4V server. This parameter is typically enabled by default.
  2. In Web Intelligence, open the N4V element settings panel and check 'Automatically export the chart in HTML format'. Specify a valid export path (UNC or absolute) and filename. The HTML file will be generated in the specified folder on the N4V server.
  3. For environments with multiple N4V servers, use a shared folder accessible from all servers to ensure consistent file generation.
  4. To control export destinations, define the 'HTMLBaseDir' parameter in config.js to set a default export path. Users can append to this path if needed.
  5. In N4V version 2024.3.0 and later, administrators can define an 'authorized list of export paths' in config.js to restrict user access to specific folders. This prevents users from writing to unauthorized locations on the server.

Other resolution

The 'use_external_webapp_HTML' parameter should be set to 'true' only if the N4V web application URL is not accessible from the intended display location for the HTML export. Refer to N4V documentation for detailed configuration of external web applications.