meta data for this page
How to use complex SVG files in N4V for Webi pictorial gauges
Anonymised summary of support ticket #496783 (2024-12-11)
Symptom
Complex SVG files with multiple paths cannot be directly used in N4V for Webi pictorial gauges. Attempting to use them causes service crashes or rendering issues. Additionally, SVG files must be encoded in UTF-8 (without BOM) to function correctly.
Environment
N4V for Webi (Need4Viz extensions for SAP BusinessObjects Web Intelligence), SAP BusinessObjects Web Intelligence, Tomcat or application server hosting N4V services.
Resolution
- Convert complex SVG files with multiple paths into a single path using tools like Inkscape or online SVG editors. Ensure shapes are merged properly to avoid overlapping issues.
- For SVG files with overlapping elements (e.g., pins), adjust the design so that elements are not fully superimposed. Ensure each part is represented by a single continuous path.
- Re-encode SVG files in UTF-8 (without BOM) format before deploying them to the server.
- Restart the N4V services or the application server hosting the gauges to apply changes.
Other resolution
If the SVG file still causes issues after conversion, validate its structure using an SVG validator tool to ensure compatibility with N4V for Webi.