Jump to content

How to embed spotfire reports by providing URL with iframe


Trista

Recommended Posts

I am trying to find related documentations on the website about how to embed spotfire reports by providing a URL with iframe without login.

Regarding to the similar issues, I've found reference such as JavaScript API solution as below:

But this, in my understanding, is for individual user to do it.

Since my team is using commercial edition and working as business level, there might be some other embedding options or security considerations.

We really need a help to refer some related documentations and solutions for further technical details. 

 

 

Link to comment
Share on other sites

  • 2 weeks later...

Hello Trista,

The option to embed a Spotfire analysis in web pages using iframes was removed as modern web browsers are ending support for third-party cookies.

To embed an analysis in a web page, it is possible to make a web mashup using the Spotfire JavaScript API instead, as described in the page you linked to. Using the JavaScript API, anyone can easily embed a Spotfire analysis into a web page by simply adding a few lines of code (vs copy/paste the URL with iframe) into a web page. 

Is there anything that prevents you from using the mashup method? Please let me know

Link to comment
Share on other sites

  • 4 weeks later...

Hi Arnaud and Jose, 

Thank you so much for your guidence and supports.

Your replay and this POC really helps us a lot to understand and implement the idea.

 

Our team tried the code but yet seemly facing some authentication issue.

The error shows "Status not OK. ERROR: Third party cookies must be allowed for domain"  

image.thumb.png.bb0b352994f944780f4545271b4a4209.png

 

We use the Loader API, and found the documentation says external/web suthentication need to setup with server:

image.thumb.png.0cfa49e741c6c469f1a9319596e1acd9.png

 

Then, we tried to enable the authentication option on Spotfire Configuration Tool with "Enable External Authentication" and add IP in the below field, but still not working.

 image.thumb.png.5e2ab425ccaf1f10337436c3b4836aa5.png

 

As the "403 Forbidden" shows below, XHR still cannot request for the reports:  

image.thumb.png.ce52266a3c9f0c085f50ab98479bfa7e.png


 

We are looking for solution with official documentation and thinking SameSite Cookie Attribute setting might be the solution. But we are not sure if this is the right direction.

https://docs.tibco.com/pub/spotfire_server/latest/doc/html/TIB_sfire_server_tsas_admin_help/server/topics/samesite_cookie_attribute.html

 

We would greatly appreciate it if you could provide any additional information.

Many thanks!

 

 

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...