====== How to properly export a Web Intelligence report with N4V components to HTML ====== //Anonymised summary of support ticket #246493 (2023-12-15)// ===== Symptom ===== When exporting a Web Intelligence report containing N4V components to HTML, the graphs are not displayed correctly. Instead of interactive components, static images or raw code are shown in the HTML output. ===== Environment ===== SAP BusinessObjects Web Intelligence with N4V FOR WEBI extensions. Export to HTML format. N4V components include charts, variables, and other visual elements. ===== Resolution ===== - Export the Web Intelligence report to HTML once to generate the main HTML file (e.g., report.html). - For each N4V component, configure the HTML export path and filename in the component settings (as per N4V documentation). - Export each N4V component individually to HTML using the extended export options (e.g., graph1.html, graph2.html). - %%In the main report.html file, locate the tags corresponding to N4V components (e.g., TMP_XX_YY).%% - %%Replace each tag with an ).%% - %%If navigation or interactivity is used (e.g., input controls, linked elements), add JavaScript functions to dynamically update the iframe sources based on user interactions. Example functions may include click_link_multi or click_link_N4V_Grade.%% - Ensure the N4V components are the only elements in the report. Avoid mixing standard Web Intelligence tables or cells with N4V components to simplify the export process. ===== Other resolution ===== %%For a working example, refer to the demo site provided by N4V FOR WEBI. The main HTML file acts as a 'shell' for the dashboard layout, while the iframes load the dynamic content from individual N4V HTML exports. Avoid re-exporting the report after modifying the HTML file to prevent overwriting changes.%%