meta data for this page
How to make N4V FOR WEBI exports fully responsive in HTML
Anonymised summary of support ticket #472795 (2023-06-21)
Symptom
After upgrading to SAP BusinessObjects Web Intelligence 4.3 and N4V FOR WEBI 2023.1.0, HTML exports of charts or maps no longer adapt their height to the container size, even though width responsiveness still works. Previously, manual CSS adjustments were sufficient, but now the height remains fixed.
Environment
SAP BusinessObjects Web Intelligence 4.3 SP3, N4V FOR WEBI 2023.1.0, HTML export with iframe embedding
Resolution
- Add the following CSS to the exported HTML file to ensure full responsiveness:
- ```css
- html, body, #container {
- height: 100% !important;
- }
- ```
- Apply this CSS to the exported HTML files before embedding them in iframes.
Other resolution
For automated processing, use a script to inject the CSS into the HTML files. Example using sed (Unix/Linux):