Frequently Asked Question
Issue when displaying Extended Pivot Table (blocking in Analyzing data...)
Last Updated 11 months ago
Symptom
- Configure a Need4Viz Extended Pivot Table. The following popup is continuously running :
- In the console of Chrome (F12), you can get the following kind of errors :
Environment
- SAP BusinessObjects Business Intelligence Platform : all 4.2/4.3 Webi versions
- Need4Viz : all versions
Resolution
The N4VCustomElements webapp is deployed on a separate web server of the BOE/BI Tomcat (or the URL provided in the config.js file is not the same as the BOE/BI server URL. This generate a CORS Policy issue in the browser.
To avoid that, you need to configure the webapplication server hosting the N4VCustomElements webapp to allow the the cross origin for the specified domains accessing the N4VCustomElements webapp.
N4V webapp hosted on an Apache server :
- The N4VCustomElement webapp is served by an Apache server (SERVER A)
- The BOE webapp is installed on a Tomcat server (SERVER B)
- The BOE webapp is accessible from outside company through the URL
https://subdomain1.domain1.com - The BOE webapp is accessible from inside company through the URL
https://subdomain2.domain2.com - The BOE webapp is also accessible from inside company directly on the Tomcat server through URL
http://serverB.domain3.net:8080 - In the httpd.conf of the SERVER A, configure the headers_module as following :
- check the line is uncommented : LoadModule headers_module modules/mod_headers.so
- Add the following entry :
N4V webapp hosted on an Tomcat server :
- The N4VCustomElement webapp is served by a Tomcat server (SERVER A)
- The BOE webapp is installed on a Tomcat server (SERVER B)
- The BOE webapp is accessible from outside company through the URL
https://subdomain1.domain1.com - The BOE webapp is accessible from inside company through the URL
https://subdomain2.domain2.com - The BOE webapp is also accessible from inside company directly on the Tomcat server through URL
http://serverB.domain3.net:8080 - Activate the CorsFilter in the tomcat/conf/web.xml file of the Server A :
- Change the "*" cors.allowed.origins with the list (separated by commas) of URLs used to access your SAPBI instance, Ex.
https://subdomain1.domain1.com,https://subdomain2.domain2.com,http://serverB.domain3.net:8080