Website not displaying in Spotfire Web Page panel

Website not displaying in Spotfire Web Page panel

book

Article ID: KB0071129

calendar_today

Updated On:

Products Versions
Spotfire Analyst All

Description

When configuring a Web Page Panel in the Spotfire Analyst client, after adding the desired web site URL and clicking OK, the page is not displayed in the Web Page Pabel as expected and is instead blank. See Details on Configure Web Page Panel for more details.

Issue/Introduction

When configuring a Web Page Panel in the Spotfire Analyst client, after adding the desired web site URL and clicking OK, the page is not displayed in the Web Page Pabel as expected and is instead blank.

Environment

All

Resolution

When using a Web Page Panel, Spotfire embeds the content in an iframe,  Many websites, such as google.com, do not support embedding so nothing is rendered in the Spotfore client. As of 2023, tests have shown that https://en.wikipedia.org/wiki/Main_Page will work to confirm that a connection to a website is possible as a test.

The reason for this is that many sites send an "X-Frame-Options: SAMEORIGIN" response header. This option prevents the browser from displaying iFrames that are not hosted on the same domain as the parent page for security reasons. 

There are two possible directives for X-Frame-Options:

X-Frame-Options: DENY
    The page cannot be displayed in a frame, regardless of the site attempting to do so.

X-Frame-Options: SAMEORIGIN
    The page can only be displayed if all ancestor frames are same origin to the page itself.


The Web Page Panel will only render data from websites that do not send this response header. 

Additional Information

Doc: Details on Configure Web Page Panel External: X-Frame-Options External: How to show google.com in an iframe?