The N4V components are generated in HTML format from N4V services and sent to Webi to be included in IFrames.
The generated HTML contains some links to N4V static libraries (.js files) called directly from the Web browser of the user.
It's mandatory that the static N4V webapp is deployed on a web application server (for instance Tomcat) that can be reached from outside and inside through the same URL link.
For instance, if the BOE instance is visible from outside entreprise network with the URL https://my_outside_URL/BOE/BI and from inside entreprise network with the URL http://my_inside_URL/BOE/BI you need to check that :
N4VCustomElements webapp can be reached from outside with the
URL https://my_outside_URL/N4VCustomElements . To check that, try to display the
https://my_outside_URL/N4VCustomElements/res/images/green_tick.png image in a browser session from outside your entreprise network : it should display correctly a green tick image.
N4VCustomElements webapp can be reached from inside with the same
URL as for external access :
https://my_outside_URL/N4VCustomElements . To check that, try to display the
https://my_outside_URL/N4VCustomElements/res/images/green_tick.png image in a browser session from inside your entreprise network : it should display correctly a green tick image.
If previous tests are OK then
Open the file ~Need4Viz\nodejs\node_modules\custom_element\ce_libs\config.js
Change the URLNodeJSServer to value ' my_outside_URL '
Change the PORTTomcat to value 443 (for example)
Open a powershell window and run “pm2 start all” to restart all N4V services with the new confguration
View your Webi report with N4V components from inside and outside your entreprise network