meta data for this page
N4V FOR WEBI Installation Guide EN
Source : install/N4V_FOR_WEBI_Installation_Guide_EN.pdf
N4V FOR WEBI Installation & Configuration Guide Windows Server · SAP BusinessObjects BI 4.2 SP03+, 4.3 and BI 2025 Core services · Extension panels · N4V Assistant · Dashboard Builder · Automatic export and publications This guide installs N4V FOR WEBI on a Windows server, connects it to SAP BusinessObjects Web Intelligence and enables the extension panels, the N4V Assistant, the Dashboard Builder and automated exports. Document Value Platform Windows Server · SAP BusinessObjects BI 4.2 SP03+, 4.3 and BI 2025 Product version N4V FOR WEBI 2026.x Document version 3.0 — draft (November 2026) Replaces Install_N4V_V2.0 Audience SAP BI administrators, IT / infrastructure teams
N 4 V F O R W E B I Installation & Configuration Guide — Windows Contents 1. About this guide………………………………………………………………………………………………………………..4 1.1 What gets installed……………………………………………………………………………………………………………………………4 1.2 Conventions……………………………………………………………………………………………………………………………………..4 2. Prerequisites…………………………………………………………………………………………………………………….5 2.1 Supported platforms………………………………………………………………………………………………………………………….5 2.2 Network…………………………………………………………………………………………………………………………………………..5 2.3 MongoDB…………………………………………………………………………………………………………………………………………5 2.4 Before you start………………………………………………………………………………………………………………………………..5 3. Install the N4V core……………………………………………………………………………………………………………6 4. Start and manage the N4V services……………………………………………………………………………………..17 4.1 Create the Windows service……………………………………………………………………………………………………………..17 4.2 Start the services……………………………………………………………………………………………………………………………..18 4.3 Check that the services are running…………………………………………………………………………………………………..19 4.4 The N4V Administration Console……………………………………………………………………………………………………….20 5. Connect N4V to SAP BI……………………………………………………………………………………………………..23 5.1 Settings by SAP BI version…………………………………………………………………………………………………………………23 5.2 Enable the Extension Sample…………………………………………………………………………………………………………….23 5.3 Force the Webi extension services…………………………………………………………………………………………………….25 5.4 Add the N4V URLs to the white list…………………………………………………………………………………………………….25 5.5 RESTful Web Service………………………………………………………………………………………………………………………..26 5.6 Declare the N4V services as custom elements…………………………………………………………………………………….27 5.7 Check in Web Intelligence…………………………………………………………………………………………………………………30 6. N4V extension panels……………………………………………………………………………………………………….32 6.1 Two extensions……………………………………………………………………………………………………………………………….32 6.2 Authorize the N4VCustomElements URL…………………………………………………………………………………………….34 6.3 Assign the extensions to user groups…………………………………………………………………………………………………34 6.4 Check in Web Intelligence…………………………………………………………………………………………………………………37 7. N4V Assistant………………………………………………………………………………………………………………….38 7.1 The N4VCustomElements home page………………………………………………………………………………………………..38 7.2 Prerequisites for the AI…………………………………………………………………………………………………………………….38 7.3 Open the administration console………………………………………………………………………………………………………39 7.4 Connect the AI engine………………………………………………………………………………………………………………………39 7.5 Useful options…………………………………………………………………………………………………………………………………40 7.6 Shared templates…………………………………………………………………………………………………………………………….40 7.7 Several Tomcat servers (cluster)………………………………………………………………………………………………………..41 7.8 Troubleshooting………………………………………………………………………………………………………………………………41 8. Dashboard Builder……………………………………………………………………………………………………………42 8.1 Requirements and files…………………………………………………………………………………………………………………….42 8.2 Check that the builder answers…………………………………………………………………………………………………………42 8.3 Turn security on………………………………………………………………………………………………………………………………43 8.4 Create the first administrator……………………………………………………………………………………………………………44 8.5 Accounts and permissions………………………………………………………………………………………………………………..45 8.6 Secure the published webapps………………………………………………………………………………………………………….46 8.7 Who sees what………………………………………………………………………………………………………………………………..46 8.8 Test the installation…………………………………………………………………………………………………………………………46 9. Automatic export and publications……………………………………………………………………………………..48 © Need4Viz · need4viz.com 2
N 4 V F O R W E B I Installation & Configuration Guide — Windows 9.1 Prepare the platform (once per environment)…………………………………………………………………………………….48 9.2 Configure the automatic export in the document………………………………………………………………………………..48 9.3 Install the publication service (server side)…………………………………………………………………………………………49 9.4 Create and schedule the publications………………………………………………………………………………………………..50 9.5 Maintenance…………………………………………………………………………………………………………………………………..50 9.6 Troubleshooting………………………………………………………………………………………………………………………………50 10. Upgrade N4V…………………………………………………………………………………………………………………52 11. Uninstall……………………………………………………………………………………………………………………….53 12. Support and resources…………………………………………………………………………………………………….56 © Need4Viz · need4viz.com 3
N 4 V F O R W E B I Installation & Configuration Guide — Windows 1. About this guide Follow the chapters in order for a first installation; each chapter ends with a check so you can confirm the step before moving on. 1.1 What gets installed Component What it does Where it runs N4V core services Render the N4V Widgets and N4V Maps custom elements in Webi (13 Node.js services managed by PM2) and the N4V Administration Console. N4V install directory, ports 8101–8113 by default MongoDB (recommended) Stores cached data such as geocoded addresses for maps. Embedded installer or an existing instance N4VCustomElements webapp Hosts the N4V extension panels for Webi and the N4V Assistant relay. Tomcat webapps (or Apache htdocs) N4V extension panels User extension (HTML / PDF export) and designer extension (Chart Recommender, Settings, Palette and SVG tools) in the Webi side panel. Served by N4VCustomElements, assigned to user groups in the CMC N4V Assistant Configures N4V elements in natural language from the Settings panel, through a relay to the LLM of your choice. Served by N4VCustomElements/n4v- assistant Dashboard Builder (N4V Publisher) Assembles HTML exports from several Webi documents into a web portal / dashboard, without HTML skills. Tomcat webapp Automated exports Produces N4V HTML exports automatically when a document is scheduled or published by the SAP BI platform. N4V export service + SAP BI scheduling 1.2 Conventions ■[N4V_DIR] — the N4V installation directory chosen during setup. ■[BOE_DIR] — the SAP BusinessObjects installation directory (e.g. C:\Program Files (x86)\SAP BusinessObjects). ■[TOMCAT_WEBAPPS] — the webapps folder of the Tomcat that serves BI Launch Pad. ■Bold text refers to a button, menu or field as it appears on screen. © Need4Viz · need4viz.com 4
N 4 V F O R W E B I Installation & Configuration Guide — Windows 2. Prerequisites 2.1 Supported platforms Item Requirement SAP BusinessObjects BI 4.2 SP03 and above, BI 4.3, BI 2025 N4V extension panels BI 4.3 SP03 minimum (some features need SP04) N4V Intelligence (optional)BI 4.3 SP04 minimum Operating system Windows Server 2016+ (same server as SAP BI or a dedicated server) Resources Light footprint: N4V can share the SAP BI server. Allow about 1 GB of disk space for a full installation with MongoDB. Web application server The Tomcat delivered with SAP BI (or another Tomcat / Apache web server) Accounts Local administrator on the server; SAP BI administrator account for the CMC 2.2 Network ■A range of 13 consecutive ports for the N4V services (default 8101 to 8113), reachable from the Web Intelligence Processing Servers. ■Optional outbound access to Google Maps (base maps, printing) and the Google Geocoding API — only if you use these features. ■Optional outbound access to your LLM provider (Mistral AI, OpenAI, Anthropic…) or to your self-hosted LLM, for the N4V Assistant and N4V Intelligence. 2.3 MongoDB The N4V setup embeds a MongoDB installer. To use an existing MongoDB server instead, have its connection URL ready and create a dedicated instance for N4V. 2.4 Before you start
☐ Installer N4V_setup_vX.X.exe and licence file n4v.lic downloaded from the support site
☐ Port range chosen and opened in the firewall
☐ Path of the Tomcat webapps folder and Tomcat listening port
☐ Public URL of the web server (e.g. https://bi.mycompany.com:8443)
☐ MongoDB choice: embedded, existing instance (URL) or none
☐ LLM endpoint and API key, if you enable the N4V Assistant
☐ A maintenance window to restart Tomcat, only if you set up the publication service (9.3) © Need4Viz · need4viz.com 5
N 4 V F O R W E B I Installation & Configuration Guide — Windows 3. Install the N4V core Run the setup as a local administrator on the server that will host the N4V services. Have your licence file n4v.lic at hand (download it from the support site). Step 1 — Run N4V_setup_vX.X.exe. Step 2 — Select the setup language: English or French. Step 3 — Select your licence file n4v.lic. © Need4Viz · need4viz.com 6
N 4 V F O R W E B I Installation & Configuration Guide — Windows Step 4 — Select I accept the agreement, then Next. Step 5 — Click Next. © Need4Viz · need4viz.com 7
N 4 V F O R W E B I Installation & Configuration Guide — Windows Step 6 — Keep the default directory or choose the folder where N4V will be deployed — this is [N4V_DIR]. Click Next. Step 7 — Choose the components: ■Full installation installs MongoDB on this server. If you install N4V on several servers, MongoDB can be installed on each of them, or on a single server shared by all N4V servers. ■Use an already installed MongoDB instance if you already have one. ■Do not use MongoDB if you do not want to use it. I M P O R T A N T A MongoDB instance is strongly recommended: N4V performs better with it, especially to store geocoded addresses for maps. © Need4Viz · need4viz.com 8
N 4 V F O R W E B I Installation & Configuration Guide — Windows Step 8 — Enter the first port of the N4V port range. Up to 13 ports are used: if you enter 8101, the range 8101–8113 may be used depending on the services you run. Click Next. © Need4Viz · need4viz.com 9
N 4 V F O R W E B I Installation & Configuration Guide — Windows Step 9 — Select the N4V language, then Next. Step 10 — Select the SAP BI version used in your environment (4.2 or 4.3 / BI 2025), then Next. © Need4Viz · need4viz.com 10
N 4 V F O R W E B I Installation & Configuration Guide — Windows Step 11 — Select the default number format of the N4V widgets. It can be changed individually in each widget. Click Next. Step 12 — Select the Tomcat webapps folder. If SAP BI is installed on the same server, the field is pre-filled with the default Tomcat webapps path. Without Tomcat or any web server, you can install an Apache server and select its htdocs folder. Click Next. I M P O R T A N T Never delete the N4VCustomElements folder that the setup adds to this directory: it hosts the extension panels and the N4V Assistant. © Need4Viz · need4viz.com 11
N 4 V F O R W E B I Installation & Configuration Guide — Windows Step 13 — Enter the Tomcat (or web server) listening port — the port used to open BI Launch Pad — then Next. BI Launch Pad URL Port to enter http://<alias_bi>:8080/BOE/BI 8080 http://<alias_bi>/BOE/BI 80 https://<alias_bi>/BOE/BI 443 © Need4Viz · need4viz.com 12
N 4 V F O R W E B I Installation & Configuration Guide — Windows Step 14 — Enter the Web Server URL — generally the root URL of your BI Launch Pad (e.g. https://<alias_bi>) — then Next. © Need4Viz · need4viz.com 13
N 4 V F O R W E B I Installation & Configuration Guide — Windows Step 15 — If you chose an existing MongoDB instance, enter its URL. Use an instance dedicated to N4V. Step 16 — Check the summary and click Install. © Need4Viz · need4viz.com 14
N 4 V F O R W E B I Installation & Configuration Guide — Windows Step 17 — If this message appears, click OK. Step 18 — If this message appears, click No. Step 19 — Click Next. © Need4Viz · need4viz.com 15
N 4 V F O R W E B I Installation & Configuration Guide — Windows Step 20 — If the setup offers to restart the server, you can do it now or later — a restart is not required for N4V to work. Click Finish. N O T E The N4V Administration Console is not available yet: start the N4V services first (chapter 4). © Need4Viz · need4viz.com 16
N 4 V F O R W E B I Installation & Configuration Guide — Windows 4. Start and manage the N4V services The Windows service is recommended for production: it starts with the SAP BI Server Intelligence Agent and is visible in the Central Configuration Manager. PowerShell scripts suit test environments and troubleshooting. 4.1 Create the Windows service Step 1 — Open a PowerShell window as administrator, go to [N4V_DIR]\scripts and run Create_Need4Viz_Service.ps1. cd "[N4V_DIR]\scripts" .\Create_Need4Viz_Service.ps1 Step 2 — When prompted, enter n. Step 3 — The script sometimes returns nothing even though the service has been created. You can safely close the window. © Need4Viz · need4viz.com 17
N 4 V F O R W E B I Installation & Configuration Guide — Windows 4.2 Start the services Option A — Windows service. In the SAP BI Central Configuration Manager, locate BOEXI40Need4Viz and start it if it is stopped. Option B — PowerShell scripts. To start the services, run Start_Need4Viz.ps1 from [N4V_DIR]\scripts. To stop the services, run Stop_Need4Viz.ps1 from the same folder. © Need4Viz · need4viz.com 18
N 4 V F O R W E B I Installation & Configuration Guide — Windows 4.3 Check that the services are running Open a browser on http://localhost:8101/about — any port of the N4V range (8101–8113) works. The service returns its version information. © Need4Viz · need4viz.com 19
N 4 V F O R W E B I Installation & Configuration Guide — Windows 4.4 The N4V Administration Console Step 1 — Open http://localhost:8101/admin. On first connection, create the password of the administrator account N4Vadmin (this login cannot be changed). Step 2 — Each service tab (Maps, Gauges…) lists the activated charts — an enabled chart is displayed in the Webi custom element library. You can also change the global row limit for each kind of chart. Running and error logs are available in each tab. © Need4Viz · need4viz.com 20
N 4 V F O R W E B I Installation & Configuration Guide — Windows Step 3 — The Services tab shows the status of every N4V service. Stop or restart services individually, or click Restart all at the bottom right. Step 4 — The Configuration tab manages all service settings (stored in config.js). Changes apply immediately, without restarting any service. ■Palettes — create your corporate colour palette here to share it with all N4V users. ■SVG library — add SVGs from the N4V public library, your own icons or your company logo for the widgets that use them (pictorial gauges…). ■OpenStreetMap tab — review the map providers and add your own. © Need4Viz · need4viz.com 21
N 4 V F O R W E B I Installation & Configuration Guide — Windows © Need4Viz · need4viz.com 22
N 4 V F O R W E B I Installation & Configuration Guide — Windows 5. Connect N4V to SAP BI 5.1 Settings by SAP BI version Apply only the settings that match your SAP BI version, then declare the N4V services as custom elements (5.6) — required on every version. SAP BI version Extension Sample (5.2) Webi properties file (5.3) URL white list (5.4) RESTful relative URL (5.5) 4.2 SP03 → SP07 patch 05— — — — 4.2 SP07 patch 06 → SP08 patch 05 ✔ — ✔ — 4.2 SP08 patch 05+ and SP09+ — ✔ ✔ — 4.3 SP00 – SP01 — — ✔ — 4.3 SP02 – SP03 — — ✔ ✔ 4.3 SP04+ / BI 2025 — — ✔ — The Webi properties file (5.3) only applies to SAP BI 4.2. The N4V extension panels (chapter 6) require SAP BI 4.3 SP03 or later. 5.2 Enable the Extension Sample Only SAP BI 4.2 SP07 patch 06 → SP08 patch 05. On these versions, these steps are required to enable navigation in N4V components. © Need4Viz · need4viz.com 23
N 4 V F O R W E B I Installation & Configuration Guide — Windows Step 1 — In the CMC, open Users and Groups, right-click Everyone and select Customization. Step 2 — In the Extensions tab, enable Extension Sample 1.0.0. Step 3 — Click Save and Close. © Need4Viz · need4viz.com 24
N 4 V F O R W E B I Installation & Configuration Guide — Windows 5.3 Force the Webi extension services Only SAP BI 4.2 SP08 patch 05+ and SP09+. In accordance with SAP Note 2925234, Web Intelligence can be forced to enable its extension services even when no extension point is enabled in the CMC: 1.Stop Tomcat. 2.Go to [BOE_DIR]\tomcat\webapps\BOE\WEB-INF\eclipse\plugins\webpath.AnalyticalReporting\web\ WEB-INF\classes. 3.Edit webiviewer.properties and set ENABLE_EXTENSIONS_SERVICES=yes. 4.Go to [BOE_DIR]\tomcat\work\Catalina\localhost and delete the BOE folder. 5.Restart Tomcat. 5.4 Add the N4V URLs to the white list SAP BI 4.2 SP07 patch 06+, 4.3 and BI 2025. Step 1 — Log on to the CMC of the SAP BI server. Open Applications, right-click Web Intelligence and select Properties. © Need4Viz · need4viz.com 25
N 4 V F O R W E B I Installation & Configuration Guide — Windows Step 2 — In the URL White List menu, click Add URL. Step 3 — Enter each N4V URL with its port (8101 to 8113), for example http://N4V_SERVER:8101. If N4V runs on the same server as the Web Intelligence Processing Server, a single declaration with localhost is enough. Step 4 — The URL is added and activated. Repeat until every N4V URL is declared. 5.5 RESTful Web Service Only SAP BI 4.3 SP02 and SP03. © Need4Viz · need4viz.com 26
N 4 V F O R W E B I Installation & Configuration Guide — Windows Step 1 — In the CMC, open Applications and double-click RESTful Web Service. Step 2 — Select Use relative URL path, then Save and Close. 5.6 Declare the N4V services as custom elements All versions: SAP BI 4.2, 4.3 and BI 2025. © Need4Viz · need4viz.com 27
N 4 V F O R W E B I Installation & Configuration Guide — Windows Step 1 — In the CMC, open Applications and double-click Web Intelligence. Step 2 — In the left menu, select Custom Elements, then Add service. Step 3 — Select Dedicated Service, enter the service name (e.g. N4V Gauges) and the Service URL (e.g. http://N4V_SERVER:8102), as listed in the README.TXT file of [N4V_DIR]. If N4V is installed on the SAP BI server, use localhost (e.g. http://localhost:8102). Click Test to check the connection. Depending on your SAP BI version, tick I accept the risk. © Need4Viz · need4viz.com 28
N 4 V F O R W E B I Installation & Configuration Guide — Windows Step 4 — Click OK to finish the service setup. Step 5 — Tick the box to activate the new service. © Need4Viz · need4viz.com 29
N 4 V F O R W E B I Installation & Configuration Guide — Windows Step 6 — Repeat for each of the 13 N4V services (ports 8101 to 8113), then click Save and Close. 5.7 Check in Web Intelligence Step 1 — Log on to BI Launch Pad and open or create a Web Intelligence document. Step 2 — In Design mode, go to Insert › … › Custom Element. © Need4Viz · need4viz.com 30
N 4 V F O R W E B I Installation & Configuration Guide — Windows Step 3 — The N4V services appear in the element window and display their charts. Step 4 — Each chart shows your licence information. The N4V core is now operational. The next chapters enable the extension panels, the N4V Assistant, the Dashboard Builder and automated exports. © Need4Viz · need4viz.com 31
N 4 V F O R W E B I Installation & Configuration Guide — Windows 6. N4V extension panels The N4V extension panels are Web Intelligence extensions delivered in the N4VCustomElements webapp ([TOMCAT_WEBAPPS]\N4VCustomElements\extension\Need4Viz ). They add N4V tools to the Webi side panel, in Design and Reading mode. Requirements: SAP BI 4.3 SP03+ (some features need 4.3 SP04+) and N4V 2024.1.0+. 6.1 Two extensions ExtensionTools Intended for Extension URL User extension HTML and PDF export of the current report (or of each N4V element) All N4V users http(s)://<server>/ N4VCustomElements/extension/ Need4Viz/webi_apps/user_app/ extension.json Designer extension Chart Recommender, Settings & templates, Palette and SVG tools (includes the N4V Assistant) Webi designers http(s)://<server>/ N4VCustomElements/extension/ Need4Viz/webi_apps/design_app/ extension.json User extension — HTML / PDF export icons: In Reading mode : © Need4Viz · need4viz.com 32
N 4 V F O R W E B I Installation & Configuration Guide — Windows In Design mode : Designer extension — Chart Recommender, Settings, Palette and SVG icons: © Need4Viz · need4viz.com 33
N 4 V F O R W E B I Installation & Configuration Guide — Windows N O T E In a cluster of several Tomcat servers behind a load balancer, deploy N4VCustomElements identically on every node so that shared settings templates stay in sync. 6.2 Authorize the N4VCustomElements URL Step 1 — Log on to the CMC and open Applications › Web Intelligence › Authorized URLs. Step 2 — Add the URL of the N4VCustomElements webapp: http(s)://<server>/N4VCustomElements. 6.3 Assign the extensions to user groups We recommend creating two groups dedicated to the N4V extensions: the first one gets the user extension only, the second one gets both the user and the designer extensions. © Need4Viz · need4viz.com 34
N 4 V F O R W E B I Installation & Configuration Guide — Windows Step 1 — In Users and Groups, right-click the group and select Customization. Step 2 — Open the Extensions tab and click Add…. Step 3 — Enter the extension URL (see 6.1). If N4VCustomElements is deployed on the SAP BI Tomcat, replace http://localhost (or http://127.0.0.1) with the HTTPS URL of the server, for example: http://localhost/N4VCustomElements/extension/Need4Viz/webi_apps/user_app/extension.json © Need4Viz · need4viz.com 35
N 4 V F O R W E B I Installation & Configuration Guide — Windows Step 4 — Tick I accept the risk, then click OK. Step 5 — Tick the extension(s) to activate, then click Save & Close. Repeat for the designer extension and for the second group. © Need4Viz · need4viz.com 36
N 4 V F O R W E B I Installation & Configuration Guide — Windows 6.4 Check in Web Intelligence Step 1 — Log on to BI Launch Pad with a member of one of the groups, open a Webi document and click the extensions button in the right panel (Show main panel extensions). Step 2 — The N4V extension panel is displayed. Source: How to activate the N4V Panel (Webi extensions) © Need4Viz · need4viz.com 37
N 4 V F O R W E B I Installation & Configuration Guide — Windows 7. N4V Assistant The N4V Assistant (N4V 2026.4+) adds two independent features to the N4V Settings popup in Webi: ■AI Assistant — the user describes the style they want in plain language (“dark theme”, “navy blue titles”) or attaches a screenshot; the assistant proposes widget settings, which the user approves before they are applied. ■Shared (“Company”) templates — settings templates published once and offered to every popup user, next to their personal templates and the N4V library. Both are configured from a web administration console: no file to edit, no Tomcat restart. Shared templates work without the AI. 7.1 The N4VCustomElements home page Open https://<BI server>/N4VCustomElements/. If the page is displayed, the webapp is correctly installed. It gives access to the N4V Assistant console (Administer), the Dashboard Builder (Open) and HTML export examples. 7.2 Prerequisites for the AI ■An OpenAI-compatible AI engine (/v1/chat/completions API): ■internal, nothing leaves your network: Ollama, vLLM, llama.cpp; ■cloud: Mistral (EU), OpenAI, Claude (Anthropic)… ■To send screenshots, a model that reads images (Claude, GPT-4o / GPT-4.1, Mistral Small 3.1+, Pixtral, Qwen2.5-VL, Llama 3.2 Vision, Gemma 3…). ■Network access from the Tomcat server to the engine (firewall, and outbound proxy for a cloud engine). © Need4Viz · need4viz.com 38
N 4 V F O R W E B I Installation & Configuration Guide — Windows Data sent to the engine: the user’s request, the widget type and name, the relevant settings and their current values, and the conversation history. Never sent: report data. Exception: a screenshot attached by the user is sent and may show data — this option is off by default; have it approved by your DPO, especially with a cloud engine. The API key stays on the server and is never sent to the browser. 7.3 Open the administration console Step 1 — Open https://<BI server>/N4VCustomElements/n4v-assistant/admin/ (or click Administer on the home page). Step 2 — On first login, enter the one-time setup code. It is written in N4VCustomElements/WEB-INF/n4v- assistant-setup-code.txt and in the Tomcat log (line [n4v-assistant] Code d'initialisation de la page d'administration : …). Step 3 — Choose the administrator password (10 characters minimum), then log in. The session lasts 8 hours; after 5 failed logins in 15 minutes, access is temporarily blocked. Tab Use Settings All settings by section: AI engine, security, log, shared templates, cluster, cache, advanced Business rules Your company’s own rules (corporate style guide…) Shared templates Manage the “Company” templates Usage Assistant usage statistics Diagnostics AI engine test, answer cache, cluster server status Each setting has built-in help. Click Save at the bottom of the section you changed: the change applies immediately. The console is available in English and French. 7.4 Connect the AI engine Step 1 — Settings tab › AI engine section: pick an engine in Known engine… (URL, model and temperature are filled in), or enter the Engine URL without /chat/completions and the Model. Step 2 — Enter the API key (cloud engines). It is never shown again; leave the field empty to keep the current key. Step 3 — Tick Assistant enabled, then Save. Engine Engine URL Model (example) Ollama (internal) http://ai-srv:11434/v1 qwen2.5:7b-instruct © Need4Viz · need4viz.com 39
N 4 V F O R W E B I Installation & Configuration Guide — Windows Engine Engine URL Model (example) vLLM (internal) http://ai-srv:8000/v1 name of the served model Mistral (EU cloud) https://api.mistral.ai/v1 mistral-small-latest OpenAI https://api.openai.com/v1 gpt-4.1-mini Claude (Anthropic) https://api.anthropic.com/v1 claude-haiku-5-5 Check: Diagnostics tab › Run the test (configuration, reachability, response time, valid answer). Then in Webi, open the N4V Settings popup on an N4V widget: an Assistant tab appears. Try a simple request such as “dark theme”. 7.5 Useful options Section Setting Effect AI engine Screenshots (vision engine) Users attach, paste or drop an image whose style the assistant reproduces. Requires DPO approval. AI engine Max answer length Increase it (8000) if full-theme answers are truncated Security and limitsCall control origin (default): calls from the popup on the same server; bo: also requires a valid BO session Security and limitsRequests per user per hourUsage limit (default 60) Usage log Keep the request text Off by default; requires DPO approval Usage log Retention (months) Automatic purge (default 12) Answer cache Cache enabled An identical request on a widget in the same state reuses the previous answer: instant and free ■Business rules tab: instructions added to every request or to one widget type (e.g. your style guide colours and fonts). Your rules are never overwritten by an N4V update. ■Usage tab: requests, errors, tokens, cache hits, breakdown by day, model and widget type; CSV export. ■To disable the AI, untick Assistant enabled: the Assistant tab disappears; shared templates stay available. 7.6 Shared templates Step 1 — Settings tab › Shared templates section: tick Sharing enabled. Step 2 — BO group allowed to publish: Everyone (default) or a group such as N4V Designers. With a group, fill in the BO RESTful URL in the Security and limits section (default http://localhost:8080/biprws). Step 3 — Keep the default Templates file (except in a cluster, see 7.7), then Save. In the popup, shared templates appear under the Company filter. An authorised user publishes one of their templates with Share with all users; Remove from sharing removes it for everyone. The Shared templates tab of the console lets you rename, remove, export and import templates (e.g. from test to production); a backup n4v-templates-shared.json.bak is made on every change. © Need4Viz · need4viz.com 40
N 4 V F O R W E B I Installation & Configuration Guide — Windows 7.7 Several Tomcat servers (cluster) All servers must share the same configuration and templates, through a network folder readable and writable by the account running Tomcat on each server (on Windows, a domain account — “Local System” cannot reach network shares). 1.Create the shared folder, e.g. \\file-srv\need4viz. 2.Configure a first server from its console (7.3 to 7.6). 3.On this server, add at the top of N4VCustomElements/WEB-INF/n4v-assistant.properties: cluster.sharedDir=\\file-srv\need4viz cluster.nodeId=bo-web-01 4.On each other server, the same file contains only these two lines, with that server’s own nodeId (optional, defaults to the machine name). 5.Check in Diagnostics › Cluster: every server is active, with the same version and the shared folder writable. Changes then appear on every server within 5 seconds. To share only the templates, set Templates file on each server to //file-srv/need4viz/n4v-templates-shared.json. 7.8 Troubleshooting Symptom What to do No Assistant tab in the popup Settings: Assistant enabled ticked, URL and model filled in; then Diagnostics › Run the test “Engine unreachable” or timeout Check firewall / proxy between Tomcat and the engine; increase Timeout (seconds) (Advanced) Truncated or invalid answers Increase Max answer length; if the engine rejects JSON mode, set JSON mode to none (Advanced) No image button Tick Screenshots (vision engine) and use a model that reads images Setup code not found N4VCustomElements/WEB-INF/n4v-assistant-setup-code.txt (cluster: shared folder) or the Tomcat log Console keeps returning to loginDelete the site cookies or use a private window A user cannot publish a templateCheck BO group allowed to publish and BO RESTful URL Cluster: a server is missing Tomcat account rights on the share, cluster.sharedDir, same N4V version everywhere Source: N4V Assistant: configuration (AI and shared templates) © Need4Viz · need4viz.com 41
N 4 V F O R W E B I Installation & Configuration Guide — Windows 8. Dashboard Builder The Dashboard Builder is part of N4V Publisher. It assembles the HTML exports of N4V elements — from one or several Webi documents — into navigable dashboards and portals, without writing HTML. Published dashboards are served by Tomcat and can be opened by readers without a SAP BI licence; access rights in SAP BI are unchanged. This chapter covers the first setup (N4V 2026.4+): turn security on, create the first account, set the permissions, then test. Allow about twenty minutes, including two trips to the server. 8.1 Requirements and files ■Tomcat 7 to 9 (including the one shipped with SAP BusinessObjects), Java 8 or later. ■The N4VDashboardBuilder webapp, installed in [TOMCAT_WEBAPPS] by the N4V setup (chapter 3). Its files are then updated by each N4V upgrade — no WAR is ever deployed on the customer’s server. ■The licence file n4v.lic at the webapp root. ■File access to the server, to read the bootstrap token and, if needed, the Tomcat log. Everything the Dashboard Builder reads and writes lives inside the webapp, under WEB-INF/ — nothing in tomcat/conf or elsewhere. The webapp is backed up, restored and moved as one piece. File (in WEB-INF/) Purpose n4v_guard.conf Security configuration, re-read on the fly (no restart) n4v_users.json Built-in directory (hashed passwords) n4v_bootstrap.token Bootstrap token, read once n4v_guard.log Access log, if enabled n4v_acl.json “Who sees what” rules, written at publish time lib/n4v-guard.jar Security filter; after replacing it, run touch WEB-INF/web.xml to reload the webapp As long as security is not configured, the builder behaves exactly as before (no check, no session, no log), so this version can be installed on an existing site without changing anything. 8.2 Check that the builder answers Open https://<server>/N4VDashboardBuilder/ (or click Open on the N4VCustomElements home page, see 7.1). The application loads with an orange Unsecured access button at the top left, next to the logo — the entry point of the security setup. © Need4Viz · need4viz.com 42
N 4 V F O R W E B I Installation & Configuration Guide — Windows ■“License key missing or invalid”: check n4v.lic at the webapp root. ■No button although nothing is configured: the server may not serve JSPs; server publishing and the administration screen will not work either. 8.3 Turn security on Step 1 — On the server, read the bootstrap token in [TOMCAT_WEBAPPS]\N4VDashboardBuilder\WEB-INF\ n4v_bootstrap.token (it is also written in the Tomcat log at startup). Step 2 — Click Unsecured access and paste the token: the administration screen opens. Step 3 — Pick the mode: Mode Protects off Nothing (default) builder The builder and every write endpoint — start here all The same, plus published webapps (see 8.6) Step 4 — Pick the directory — local for a first run; plug the corporate directory in once everything else works: Your situation Directory A handful of people, no corporate directory local Users already in the BusinessObjects CMS bo A corporate portal authenticates in front of Tomcat header Entra ID, Keycloak, Okta, Ping oidc On-premise Active Directory or OpenLDAP ldap © Need4Viz · need4viz.com 43
N 4 V F O R W E B I Installation & Configuration Guide — Windows Step 5 — Click Test (writes nothing, checks each value and what the server can reach), then Save. Secrets are never sent back to the browser: leave a secret field empty to keep it, or tick Clear this secret. 8.4 Create the first administrator Step 1 — Reload the page: the bootstrap page asks for the token again, then has you create the first account (password of 12 characters minimum; 5 failures in 15 minutes block further attempts). © Need4Viz · need4viz.com 44
N 4 V F O R W E B I Installation & Configuration Guide — Windows Step 2 — Sign in. An account chip appears at the top right (My profile, Change password, Manage accounts, Security administration, Who sees what, Security status, Access log, Sign out) and the Unsecured access button disappears — security is live. 8.5 Accounts and permissions Account chip › Manage accounts. © Need4Viz · need4viz.com 45
N 4 V F O R W E B I Installation & Configuration Guide — Windows In the account form, the roles are set with the Can save on the server (n4v-author), Can publish to a webapp (n4v-publisher) and Administrator (n4v-admin) boxes. Role Allows (none) Viewing dashboards and portals, subject to the visibility rules n4v-author Also saving dashboards, portals and templates on the server n4v-publisher Also publishing, i.e. writing into another webapp n4v-admin Also managing accounts, reading the diagnostic screens and seeing every tile ■Groups decide which tiles are visible in published portals (separated by comma, semicolon or line break). ■Bulk loading: Excel template, Export and Import (.xlsx or .csv) with a row-by-row preview. An import never deletes or disables anything; an empty password means “unchanged”. T I P Create a second account with no role right away to test permissions: an administrator sees everything, so testing with it filters nothing. 8.6 Secure the published webapps In the Publish dashboard dialog, one row shows the target webapp’s state and secures it with a single button (visible when security is on and your account may publish). It copies n4v-guard.jar, writes a web.xml declaring the filter and an n4v_guard.conf in all mode — Tomcat reloads that webapp, nothing to restart. ■A web.xml not written by the builder is only replaced on Replace anyway, after a timestamped backup. ■Accounts are not copied: the published webapp reads the builder’s directory (n4v.local.usersFrom = N4VDashboardBuilder). Disabling an account in the builder closes access everywhere. ■A session is valid for one webapp only: signing in to the builder does not sign you in to a published webapp. ■Each secured webapp carries its own copy of the JAR: after a builder update, the publish dialog flags outdated copies and updates them. 8.7 Who sees what In Portal mode, each tile has a Visible to field (groups); the Who sees what table summarises them. Rules are written into the target webapp at publish time and enforced server-side. ■A dashboard with no rule (or an empty group list) is visible to every signed-in account. ■An administrator sees everything; an unreadable or missing ACL locks nobody out. ■Order: publish the dashboards → set the permissions in the portal → publish the portal. 8.8 Test the installation 1.In a private window, open the builder: you are redirected to the sign-in form, then back to the requested page. 2.With the role-less account, the server-save and publish buttons are absent or refused. © Need4Viz · need4viz.com 46
N 4 V F O R W E B I Installation & Configuration Guide — Windows 3.Set Visible to on one or two tiles, republish the portal and open it with the role-less account: only those tiles show, and a direct URL to a refused dashboard leaves a refus.page line in the log. 4.Test the emergency access (below) before you need it. To switch accounts, close all private windows (they share the session) or use two browser profiles. Emergency access. With a remote directory, the local directory stays reachable at https://<server>/<WEBAPP>/n4v-login?annuaire=local. Keep at least one tested local administrator account. n4v.local.fallback = false closes this door for everyone, you included. Symptom Where to look The page opens without asking anything WEB-INF/web.xml must name com.need4viz.guard.GuardFilter and n4v_guard.conf a mode other than off “Unsecured access” shows although the file exists Mode is off, or the JAR was just dropped: run touch WEB- INF/web.xml File created but nothing changed Windows hidden extensions: the file is really n4v_guard.conf.txt Signed in but no permissions /n4v-guard/me: empty groups = read-only; groups but no roles = role mapping missing. Sign in again Remote directory ignored Tomcat log at startup names the missing setting or library A published portal ignores the permissions Its JAR is older than the builder’s: update it from the publish dialog Diagnostic screens (administrators): <WEBAPP>/n4v-guard/me (who you are), /n4v-guard/provider (active connector), /n4v-guard/elements (permissions of a published webapp). N O T E If the configuration file disappears while security was on, the guard refuses everything and shows the unlocking procedure (state kept in WEB-INF/n4v_guard.state). To start over without security, delete that file. Source: N4V Dashboard Builder — directory details (bo, header, oidc, ldap) in the N4V Guard — Authentication documentation and in the builder’s built-in help, section 13. © Need4Viz · need4viz.com 47
N 4 V F O R W E B I Installation & Configuration Guide — Windows 9. Automatic export and publications An N4V dashboard is not served by BO: it is a set of HTML files dropped into a folder of a Tomcat web application, which the Dashboard Builder reads to rebuild the dashboard. This chapter sets up the chain that produces those files (N4V 2026.4+). It assumes the extension panels (chapter 6) and the N4V services (chapter 4) are in place. Link Where it is configuredWhat it does Section tabs Document (HTML export panel) One tab per combination of navigation axes, with the export options already set on every element Automatic exportDocument One HTML file per element and per navigation value, written into the dashboard’s folder SAP BI publications Platform Replay the tabs server-side, so files are produced without opening the report; can be scheduled 9.1 Prepare the platform (once per environment) ■Target web application — a folder under [TOMCAT_WEBAPPS], e.g. n4v_dashboards. Never use the BOE web application: a platform patch redeploys it and would wipe the dashboards. ■Network share on that folder, so the N4V services can drop the exported files. The account running the N4V services must have read and write rights — the most frequent cause of an export that “succeeds” without producing any file. Check with the service account itself, not an administrator account. ■Default export path — the base path of the export server, offered by the panel as Default path: users do not have to type a UNC path, and the share can be moved without editing the documents. ■Destination — Export Server (through the N4V service on the BO side) or Export FTP (FTP drop). Keep the same choice across an environment. 9.2 Configure the automatic export in the document In the N4V - Section tabs automation panel, under Set up the generation: Setting What it decides Tab prefix Beginning of the generated tab names (carries the __ separator used to recognise them) Export target Export Server or Export FTP Default path Uses the path configured on the server, optionally completed with a sub-folder Export folder The dashboard’s folder in the web application — one folder per dashboard, never shared Export one folder per groupPartitions the data: one folder per value of the chosen dimension Render all the html files Displays and scrolls every tab as it is created, so the files are produced right away © Need4Viz · need4viz.com 48
N 4 V F O R W E B I Installation & Configuration Guide — Windows The generation sets everything on each element copy: file name (element#all.html without section, element#%SECTION%1%.html with one, element#%SECTION%1%#%SECTION%2%.html with two), navigation JS function and automatic export to the folder. Nothing has to be set by hand. I M P O R T A N T Publications run on the document stored in the repository: save the document after generating the tabs. A generated but unsaved tab does not exist for them. One folder per group. When each division, fund or region must only see its own figures, the data is partitioned at export time. Export one folder per group asks for the splitting dimension; the export folder becomes folder_%SECTION%1% (one folder per value) and the group value lives in the path, never in the file name. The Dashboard Builder scans one of the folders, and the published dashboard serves each user the folder of their group (declared in the ACL, see 8.7). The splitting dimension must not be a navigation axis, and its values must not contain a slash. Folder names are lower case, without accents, other characters replaced by _. 9.3 Install the publication service (server side) Publications are created through a JSP page shipped with the extension, because the platform’s REST API exposes publications in read-only mode. Full procedure in README_publication_service.md, delivered next to the page: 1.Copy n4v_publication_relay.jsp into [TOMCAT_WEBAPPS]\BOE\WEB-INF\ (it must be in WEB-INF, otherwise the Equinox bridge answers 404). 2.Add the following block at the end of BOE’s web.xml ([TOMCAT_WEBAPPS]\BOE\WEB-INF\web.xml), before the closing </web-app> tag. This exact mapping on /n4v/publication takes precedence over the bridge’s /*. <!-- N4V FOR WEBI : publication service --> <servlet> <servlet-name>N4VPublication</servlet-name> <jsp-file>/WEB-INF/n4v_publication_relay.jsp</jsp-file> </servlet> <servlet-mapping> <servlet-name>N4VPublication</servlet-name> <url-pattern>/n4v/publication</url-pattern> </servlet-mapping> 3.Copy the platform’s SDK jars (BOE/WEB-INF/jars/lib) into [TOMCAT_WEBAPPS]\N4VCustomElements\WEB- INF\lib, without the container’s own jars. 4.Restart Tomcat. 5.Make sure an MHTML publication exists on the platform (created in the CMC): it is used as the format template. No password or shared secret is involved: the service reuses the signed-in user’s Enterprise session, and the publications belong to that user, with that user’s rights. T I P If the service does not answer, the panel only shows the list of existing publications. A missing creation block is the quickest sign that the installation is incomplete. To test it directly: POST …/BOE/n4v/publication with the body action=n4vprobe returns {"build":"…","ready":true} when everything is in place. © Need4Viz · need4viz.com 49
N 4 V F O R W E B I Installation & Configuration Guide — Windows 9.4 Create and schedule the publications In the N4V - Publications block, Publications of the generated tabs part: ■the generated tabs are listed, ticked — one publication per ticked tab; the pencil renames a publication before creation; ■Create the publications creates them in the document’s folder and starts them right away; ■each run is followed until it ends (running, finished, failed), even after closing and reopening the panel; ■the selection can be run again or deleted in one confirmed step. Then schedule the publications from the CMC like any other publication. Set the rhythm by the data refresh, not by how often the dashboard is read: every run replays the tabs and rewrites the files. 9.5 Maintenance Event What to do SAP BI patch or upgrade The BOE webapp is redeployed: redo steps 1, 2 and 4 of 9.3; take the SDK jars again if the platform version changed. Then check that the creation block shows, that a test publication is created and that it writes its files N4V update n4v_mhtml_publication.jsp is deployed with N4VCustomElements; check that the SDK jars are still in WEB-INF/lib Data changes Nothing to do: the scheduled publication refreshes the files Report structure changes (new axis, new N4V element, new layout) Generate the tabs again, save the document, run the publications (create new ones for new tabs), then republish the dashboard from the Builder Regenerating a tab with the same name empties and rebuilds it, so its id — and the publications targeting it — are preserved. Remove unused tabs with Delete the generated tabs, unused publications through the selection, and orphan group folders together with their ACL entry. N O T E With several BO nodes behind a load balancer, session affinity is mandatory: otherwise calls land on a node that does not know the session and answer 404 in the middle of a tab generation. 9.6 Troubleshooting Symptom Most frequent cause Files missing from the folder A combination with no data (normal); document not saved since the last generation; scrolling delay too short; service account rights on the share A group folder holds fewer files than another Normal if some combinations have no data; an empty folder or different file names is a problem © Need4Viz · need4viz.com 50
N 4 V F O R W E B I Installation & Configuration Guide — Windows Symptom Most frequent cause The publication creation block does not appear Service not answering (relay or mapping missing, Tomcat not restarted), or no tab generated 404 on the service address web.xml mapping missing, or Tomcat not restarted The JSP source comes back as is The address points at a place that serves files without executing them Error 500 JSP compile error (see Tomcat logs); on BI 2025, SDK jars missing from N4VCustomElements ready:false on the n4vprobe probe No session: sign in to BI Launch Pad again in the same browser Fewer publications than tabs Tabs unticked, or not saved in the document Publications run but the folder stays empty Service account rights on the share, or no export folder set on the elements The dashboard does not show new elementsNot republished from the Builder after the structural change Scheduled publication exports nothing useful The document was renamed or moved; check failed instances in the CMC Source: Automatic export and publications © Need4Viz · need4viz.com 51
N 4 V F O R W E B I Installation & Configuration Guide — Windows 10. Upgrade N4V N4V releases follow a quarterly cycle. Upgrades are done with the N4V setup, run over the existing installation: it automatically backs up and restores all the configuration files (services configuration, licence, N4V Assistant, Dashboard Builder security…), and updates the files of the N4VCustomElements and N4VDashboardBuilder webapps — no WAR is ever redeployed. 1.Run the new N4V_setup_vX.X.exe, keeping the same directory and ports (chapter 3). The setup stops and restarts the N4V services automatically. 2.Run the checks of 4.3 and 5.7. No browser cache needs clearing: N4V loads its JS and CSS libraries with a cache-buster. After the upgrade: ■Dashboard Builder — each secured published webapp carries its own copy of n4v-guard.jar: the Publish dialog flags outdated copies and updates them (8.6). ■Publication service — check that the SAP BI SDK jars are still in N4VCustomElements/WEB-INF/lib (9.3). ■SAP BI patch or upgrade (not N4V) — the BOE webapp is redeployed: redo steps 1, 2 and 4 of 9.3, and the settings of chapter 5 that apply to your version. © Need4Viz · need4viz.com 52
N 4 V F O R W E B I Installation & Configuration Guide — Windows 11. Uninstall Step 1 — In the SAP BI Central Configuration Manager, stop BOEXI40Need4Viz. Step 2 — In a PowerShell window, run pm2 kill to stop any service that was not stopped correctly. Step 3 — Run pm2 list to check that no service is still running. Step 4 — In Windows Apps & features (Add/Remove Programs), select the Need4Viz program and click Uninstall. © Need4Viz · need4viz.com 53
N 4 V F O R W E B I Installation & Configuration Guide — Windows Step 5 — Click Uninstall. Step 6 — Click Yes to confirm. Step 7 — Some files may not be removed. Click OK. Step 8 — To remove N4V completely, delete the remaining content of [N4V_DIR]. © Need4Viz · need4viz.com 54
N 4 V F O R W E B I Installation & Configuration Guide — Windows Step 9 — Delete the Windows service from an administrator command prompt: sc delete BOEXI40NEED4VIZ.EXE Step 10 — Remove the N4VCustomElements and N4VDashboardBuilder folders from [TOMCAT_WEBAPPS], then remove the N4V custom element services, extensions and white-listed URLs from the CMC. © Need4Viz · need4viz.com 55
N 4 V F O R W E B I Installation & Configuration Guide — Windows 12. Support and resources Resource Access Support portal (tickets) need4viz.com/support — available once your support account is created Support e-mail [email protected] Product documentation (wiki)need4viz.com/dokuwiki — one page per chart with its parameters Release notes need4viz.com/releases When opening a ticket, include your SAP BI version, your N4V version (from /about) and the logs from the N4V Administration Console. © Need4Viz · need4viz.com 56