How to export a Web Intelligence dashboard with N4V components to HTML while preserving navigation between components
Anonymised summary of support ticket #948178 (2022-11-14)
Symptom
When exporting a Web Intelligence dashboard containing multiple N4V components (including navigation elements) to HTML, the components are rendered as static images. Navigation between components is lost, and mixed content (N4V components alongside standard Web Intelligence tables) cannot be exported as a single interactive HTML file.
Environment
SAP BusinessObjects Web Intelligence with N4V FOR WEBI extensions, Web Intelligence HTML export feature, N4V components (graphs, navigation elements).
Resolution
Export the entire Web Intelligence report to
HTML. This generates a static
HTML file with N4V components as PNG images.
Individually export each N4V component to
HTML using the extended export options in the N4V component settings. This creates separate
HTML files for each component.
In the main Web Intelligence HTML export file, replace the <img> tags (which display N4V components as static images) with <iframe> tags pointing to the individual HTML exports of the N4V components.
Add JavaScript functions to handle navigation between components. These functions update the 'src' attribute of the iframes based on user interactions (e.g., clicking navigation elements). The JavaScript functions are automatically generated in the N4V components during export.
For dashboards mixing N4V components and standard Web Intelligence tables, avoid exporting the entire dashboard as a single
HTML file. Instead, export the N4V components separately and integrate them into a custom
HTML template that includes the table data.
Other resolution
A demo example is available on the vendor's website, demonstrating the use of JavaScript functions (e.g., click_link_multi, click_link_N4V_Grade) to update iframe sources dynamically. A video tutorial may be provided in the future to guide users through this process.