Frequently Asked Question

How to configure the Export Server in Need4Viz solution
Last Updated a year ago

Symptom

  • Configure Need4Viz services to enable HTML Export
  • Configure a Need4Viz component to be exported in destination folder

Environment

  • Windows Server
  • Need4Viz : all versions

Resolution

To configure Need4Viz services to enable HTML Export :

  1. Open the file ~Need4Viz_folder_installation/nodejs/node_modules/custom_element/ce_libs/config.js (make a backup copy before any update of this file)
  2. Set the export_HTML parameter to true (to enable the export HTML menu in the charts settings)
  3. Restart the Need4Viz services

To configure a Need4Viz component to be exported as HTML in folder destination (HTML Export is configured for Need4Viz services):

  1. In a Webi report, configure a new Need4Viz chart
  2. Validate the chart
  3. Open the Format Custom Element window of the chart and go to the Export HTML section
  4. Tick the Automatically export the chart (to enable the export for this chart)
  5. Fill the Path destination : path of the destination folder. If the folder is set localy (For example C:/temp) it refers to the folder on the Need4Viz server (not on the user's computer). If the folder does not exist, it is created. The folder can be a shared or NAS folder (for example \\my_server\my_folder)
  6. Fill the Name of the generated target HTML file : name of the exported html file in the destination folder (for example : myfile.html)
  7. Validate the settings
  8. Check in the destination folder, the file is created

Possible issue

In case of file not created in the destination folder, check :

  1. The destination folder does not need an authentification (this is not supported)
  2. If the destination folder does not exist, try to export in an existing folder.

To get more informations about the issue :

  1. Enable Debug mode in Need4Viz config.js file (set LogDebug parameter to true)
  2. Restart Need4Viz services
  3. Test again an HTML Export of your chart
  4. Open the~Need4Viz_folder_installation/log
  5. check the n4v_xxx_out.log and n4v_xxx_err.log file (where xxx is the service that should render the charts)

Please Wait!

Please wait... it will take a second!