Is Cors Filter mandatory to run flexmonster pivot ?

We have csv datasource served by Tomcat server for the flexmonster pivot . Is it mandatory to have Cors filter enabled ?

3 answers

Public
Iryna Kulchytska Flexmonster December 7, 2017

Hello Ganesh,
 
Thank you for your question.
 
Could you please let us know if you experience any kind of CORS related issues without enabling the CORS filter?
 
Regards,
Iryna

Public
Ganesh Modak December 7, 2017

Hi Iryna,
Actually the case is during our initial testing phase, we were getting error as shown in attachments. To fix that, we added Cors filter. Now we have removed the filter and it is still working fine. 
So I just wanted to be sure whether it is required or not.
 
Seems that attachments are not working. The error was:
It seems that this file doesn’t exist or ‘Access-Control-Allow-Origin’ header is absent in the resource requested.
 
Thanks

Public
Iryna Kulchytska Flexmonster December 7, 2017

Ganesh,
 
Thank you for providing us with the details.
 
The requirement of whether CORS filter should be enabled or not depends on your application architecture. In any case, it would be better to enable it if you already experienced the error “It seems that this file doesn’t exist or ‘Access-Control-Allow-Origin’ header is absent in the resource requested”. Here is the link to this error description in our documentation http://www.flexmonster.com/doc/typical-errors/#unable-to-open
 
Please let me know if you have any further questions.
 
Kind regards,
Iryna
 

Please login or Register to Submit Answer