How to simulate inter-element filtering in HTML exports of Web Intelligence reports with N4V extensions
Anonymised summary of support ticket #647382 (2022-01-19)
Symptom
Need to export a Web Intelligence report containing N4V dropdown filters to HTML while preserving the ability to filter other visualizations based on the selected value. Standard HTML export does not retain interactive filtering capabilities.
Environment
SAP BusinessObjects Web Intelligence with N4V FOR WEBI extensions. HTML export feature. N4V dropdown filters.
Resolution
Export the Web Intelligence report to HTML (via Fiori portal or scheduled HTML archive). This generates a main HTML file and an 'images' folder containing dynamic elements.
Export the N4V dropdown filter as an HTML file (e.g., menu.html) into the 'images' folder, using a JavaScript function name like 'parent.click_link_MENU'.
Export each visualization (e.g., graphs) as separate HTML files (e.g., graph_XXX.html) for each possible dropdown value. This can be automated using Web Intelligence sections and scheduled exports.
Modify the main
HTML file (rapport.html) to include a JavaScript function that dynamically updates the iframe content based on the dropdown selection. The function should normalize the selected value to match the exported filenames and update the iframe source accordingly.
Other resolution
Example implementations are available on the Need4Viz portal. For complex implementations, professional services (POC) can be requested for guidance.