Table of Contents

How to export N4V for Webi HTML reports with external static resources

Anonymised summary of support ticket #484897 (2021-03-18)

Symptom

When exporting N4V for Webi reports to HTML, CSS and JavaScript files are referenced via the internal SAP BusinessObjects server URL, which is not accessible from an external web server. This causes 404 errors in the browser console when loading the HTML report externally.

Environment

N4V for Webi (Need4Viz extensions for SAP BusinessObjects Web Intelligence), SAP BusinessObjects Web Intelligence, Tomcat, HTML export

Resolution

  1. Copy the 'N4VCustomElements' folder from the Tomcat webapps directory to the external web server.
  2. Edit the generated HTML file to update the static resource URLs (CSS, JS) from the internal SAP BusinessObjects server path to the external web server path.
  3. Ensure all static resource references in the HTML file point to the correct external server URLs.

Other resolution

After each N4V update, the 'N4VCustomElements' folder on the external web server must be updated to maintain compatibility. Some 404 errors in the browser console may appear for files only used within the SAP BusinessObjects Web Intelligence environment and can be safely ignored.