Frequently Asked Question
Symptom
- You want to disable some N4V components from the list of Webi charts.
Environment
- Need4Viz : all versions
Resolution
Each N4V component can be enabled/disabled through a specific parameter.
To disable a N4V component, follow the steps on each N4V server :
- Open the file ~Need4Viz\nodejs\node_modules\custom_element\ce_libs\config_charts.js
- For each component, there is a setting named component_activate that define if the component is visible or not in the Webi list of charts
- Find the corresponding component you want to disable. For instance, to hide the Pivot Table component, find the pivottable_activate setting and change the value from true to false
- Save the file
- Open a PowerShell command window as local administror of the server
- Run the Stop_Need4Viz.ps1 command in the ~Need4Viz/Scripts/ directory
- Then run the Start_Need4Viz.ps1 command in the ~Need4Viz/Scripts/ directory.
Now open a Webi document and display the list of aailable charts, the N4V component is displayed anymore.
Other resolution
As another possibility, you can also open the N4V Administration Console and tick/untick the according component to display/hide it in the Webi library :
Other resolution
If the component you want to hide is the only one of its family (for instance, RDF chart) or if a complete family needs to be hidden, then disable the corresponding service in the CMC / Webi Application :
Save and exit. In Webi, the corresponding chart family will not be displayed anymore.