How to enable interactivity in HTML exports of Webi reports with N4V components
Anonymised summary of support ticket #341311 (2023-08-31)
Symptom
HTML exports of Webi reports containing N4V components (e.g., date selectors, pie charts) lose interactivity. Components appear as static images and do not respond to user interactions.
Environment
SAP BusinessObjects Web Intelligence with N4V FOR WEBI extensions. Export to HTML format. N4VCustomElements deployed in a web server (e.g., Tomcat).
Resolution
Export the Webi report to
HTML once to generate the main shell structure.
Export N4V components individually to
HTML using the extended export options in Webi.
Copy the N4VCustomElements folder to the same level as the exported report's index.html file on the target server.
Manually add JavaScript functions in the parent
HTML page to update the iframe sources dynamically based on user interactions (e.g., date selection, variable changes).
Reference the JavaScript functions in the exported
HTML to handle navigation and interactivity for N4V components.
Other resolution
Note: Multi-selection interactions (e.g., date ranges, multiple selections) are not supported in HTML exports due to the need to pre-generate all possible combinations. Refer to the provided examples in the N4VCustomElements webapp for implementation templates.