meta data for this page
How to apply a custom color palette in N4V for Webi after modification
Anonymised summary of support ticket #370720 (2022-01-20)
Symptom
After adding or modifying a color palette in N4V for Webi, the following error occurs: [TypeError: Cannot read property 'length' of undefined]. The changes are not applied even after restarting the service via the Central Management Console (CMC).
Environment
N4V for Webi (Need4Viz extensions for SAP BusinessObjects Web Intelligence), SAP BusinessObjects platform, Windows environment.
Resolution
- Edit the palette files (list_palettes.js and _list_palettes.json) to add or modify the desired palette.
- Restart N4V services using the Need4Viz_start.ps1 PowerShell script instead of stopping/starting the service via the Central Management Console (CMC).
Other resolution
Restarting the service via the CMC may not fully apply the changes. Using the PowerShell script ensures a proper restart of N4V services.