How to embed an HTML graph exported from N4V for Webi into a web page

Anonymised summary of support ticket #602107 (2022-01-21)

Symptom

An HTML graph exported from N4V for Webi displays correctly when accessed directly via URL but cannot be embedded into an existing web page.

Environment

N4V for Webi (Need4Viz extensions for SAP BusinessObjects Web Intelligence), HTML export, web server (Apache or similar), iframe integration

Resolution

  1. Export the graph from N4V for Webi in HTML format.
  2. Upload the generated HTML file to a web-accessible directory on your web server (e.g., Apache).
  3. Verify the file is accessible via URL (e.g., http://yourserver/path/to/graph.html).
  4. In your existing web page, add an iframe element and set its 'src' attribute to the URL of the HTML file (e.g., <iframe src='../../graph.html'></iframe>).
  5. Adjust iframe attributes (width, height, etc.) as needed for proper integration.

Other resolution

For reference, inspect the source code of a sample page where similar graphs are embedded to understand the implementation details.