Troubleshooting
Problem
"External Content" widget on dashboards to implement HTML pages from other websites doesn't load into the dashboard.
Symptom
- Switch on Developer Tools in Browser
- Move to console tab
- Reload the widget
- Following error is noticed in the console tab:
Content Security Policy: The page’s settings blocked the loading of a resource at <URL> (“default-src”).
Resolving The Problem
- Open Application Advanced Properties ( https://<hostname>/jts/admin#action=com.ibm.team.repository.admin.configureAdvanced)
- Go Under 'Jazz Web UI (Ajax Services)'
- Set the Content Security Policy or Add a list of URLs.
- Set Content Security Policy:
Search for "Only allow trusted sources for all content (Content-Security-Policy)" property and set it to 'false'
(Before release 6.0.6.1 this property was set true by default. It was changed to false for 6.0.6.1. After, release 6.0.6.1 it is set to true as default.)
(Note: A server restart is required when you change this property.) - Add a list of URLs:
Add the URL as a comma-separated list in "ClickJacking allowlist" property
- Set Content Security Policy:
- Click Save.
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSPRJQ","label":"IBM Engineering Lifecycle Management Base"},"ARM Category":[{"code":"a8m0z0000001fFtAAI","label":"Jazz Team Server->Dashboards"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0.0;and future releases"}]
Product Synonym
EWM; ELM; RTC
Was this topic helpful?
Document Information
Modified date:
20 January 2022
UID
ibm16423661