IBM Support

Cannot load content in the Web Widget in DASH

Troubleshooting


Problem

Trying to open an external page in a Web Widget results only in a blank page.

Symptom

The Web Widget screen shows just a blank page.

Cause

There are security limitations how browsers manage information being displayed in iFrames.

Diagnosing The Problem

Use the Developer Tools in the Browser (F12) and check in the Console tab for errors like the one below, mentioning the URL you defined in the Web widget:


Refused to display 'https://www.google.com in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
 

Resolving The Problem

The following limitation occurs when using the Web Widget in DASH:

The Web Widget uses an iFrame to display external content. External content can choose to include instructions in their content telling the browser to not let it be iframed, or to be iframed only by certain hosts.

The reason for this is, that the page in question is sending 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.

The X-Frame-Options header is a security feature to prevent click-jacking attacks.
This causes some web pages to work and others will not display the content of the defined page.

[{"Product":{"code":"SSRLR8","label":"Tivoli Components"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Jazz for Service Management","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.1.1;1.1.2;1.1.3","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
25 July 2019

UID

swg21993282