Velmurugan Natesan Posted February 22 Share Posted February 22 (edited) Hi All In our Spotfire dashboard, we are using a custom Jviz visualisation, which was developed by a former developer, I working on the performance issue now. We tested before integrating it with Spotfire(i.e visual studio code environment) it is working fine, when we checked the developer tool's console section, the request was successful. However, after we integrated it with Spotfire, we noticed a lag in the visualization's loading time. When we checked the developer tool, I noticed that there were two server requests, the second of which was made following the iframe issue(refer screenshot) Could you provide some thoughts or suggestions regarding the possible cause of the second request? Iframe message : An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing Spotfire 12.0.8 Jviz Version: 3.5.1.0 jQuery v1.8.3 Issues is in both Desktop and web client, please let me know if need more details, your help really appreciated. Edited February 22 by Velmurugan Natesan Link to comment Share on other sites More sharing options...
Andreas Laestadius Posted February 22 Share Posted February 22 Hi Velmurugan Natesan, Not sure what to say as you have not shared any code, but the error message suggests that the javascript in the JSViz is trying to open a modal dialog while not being allowed to do so. That's the best guess at this stage. Hope this helps, Andreas Link to comment Share on other sites More sharing options...
Velmurugan Natesan Posted February 22 Author Share Posted February 22 Hello Andreas, Thanks for the response. I understand your concern, but for security reasons I am unable to provide the code. Please refer to the following screen shot, which shows me receiving a iframe warning error (highlighted in yellow). After that, a second request is made, though I'm not sure if my assumption is accurate. my Jviz opening but unnecessarily taking time for second request. Regards, Velmurugan Link to comment Share on other sites More sharing options...
Velmurugan Natesan Posted March 15 Author Share Posted March 15 it may help to some one. after adding below code into main.js, not getting any iframe issue and not making redundant request. i.sandbox.add("allow-same-origin"); i.sandbox.add("allow-scripts"); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now