Frequently Asked Question

External web access used by N4V server
Dernière mise à jour il y a 3 ans

Symptom

  • When printing a Webi report in PDF/XLS format, some N4V components are not correctly printed (a puzzle may appear) or there is a very long delay to print the report.
  • When using Google Address component (geolocation), the component is not displayed correctly.

Environment

  • Windows & Linux Server
  • Need4Viz : all versions. Fixed in 2022.0.1 version.

Resolution

Depending on the action and the N4V components, the N4V server may need to access internet.

When printing a Webi report containing the following N4V components :

  • Simple Sankey
  • Google Maps Lat/Lon
  • Google Maps Geocoding
  • Google Heatmap
  • OpenStreetMap Chart Pie

When displaying a Webi report containing the following N4V component :

  • Google Maps Geocoding

The URL accessed from the N4V server are the following :

A. If no external web access is allowed from the N4V server

Set to true the NoExternalWebAccessAllowed variable in the ~Need4Viz\nodejs\node_modules\custom_element\ce_libs\config.js file, so a blank frame with unprintable message will be generated instead of the expected render.

B. If external web access is allowed through a proxy from the N4V server

Set in the ~Need4Viz\nodejs\node_modules\custom_element\ce_libs\config.js file the ProxyHost variable (only proxy without authentication can be used).

C. If external web access is allowed directly from the N4V server

You have nothing to do.

Notice :

After each update of the config.js file, follow these steps to make the changes effective :

  1. Open a PowerShell command window as local administror of the server
  2. Change directory to ~Need4Viz_folder_installation/Scripts/
  3. Run the Start_Need4Viz.ps1 command

Veuillez patienter!

S'il vous plaît patienter... il faudra une seconde !