技术文章 - CS346514
访问嵌入在 iFrame 中的 ThingWorx Mashup 失败,并出现错误“拒绝框架 'https://<URL>因为祖先元素违反了以下内容安全策略指令:'frame-ancestors 'self'
已修改: 13-Jan-2026
适用于
- Windchill Navigate (formerly ThingWorx Navigate) 8.5.0 to 9.6
- ThingWorx Platform 9.0 to 10.0
- Windchill PDMLink 12.0 to 13.0
- Vuforia Studio 9.0.0 to 9.11.0
说明
- 尝试加载嵌入在 iframe 中的 Mashup 时出现错误
- 访问 Vuforia Studio Web Frame 小部件中嵌入的 ThingWorx Mashup 时出现错误
- 访问嵌入在 iFrame 中的ThingWorx Mashup时收到错误:
Refused to frame 'https://<URL>' because an ancestor violates the following Content Security Policy directive: 'frame-ancestors 'self
- 由于 CSP 标头配置,Windchill 和 ThingWorx 之间的集成受阻。
- 尝试在 Windchill 和ThingWorx Mashup中打开数字产品追溯 (DPT)时,不会显示任何内容。
- Windchill PDMLink 中无法使用DPT相关Mashup
- Windchill PDMLink 选项卡的 Mashup 页面中显示的错误:
https://<URL> refused to connect <ipAddress> refused to connect
这是文章 346514 的 PDF 版本,可能已过期。最新版本 CS346514