技术文章 - CS346514

无法访问嵌入在 iFrame 中的 ThingWorx Mashup

已修改: 08-Jan-2026   


注意:本文已使用机器翻译软件翻译,以方便非英语客户阅读。但翻译内容可能包含语法错误或不准确之处。请注意, PTC对本文所含信息的翻译准确性及使用后果不承担任何责任。请在 此处 查看本文的英文原始版本以便参考。有关机器翻译的更多详情,请单击 此处
感谢您告诉我们。我们将尽快审阅此译文。

适用于

  • Windchill Navigate (formerly ThingWorx Navigate) 8.5.0 to 9.6
  • ThingWorx Platform 9.0 to 9.6
  • Windchill PDMLink 12.0 to 13.0
  • Vuforia Studio 9.0.0 to 9.11.0

说明

  • 访问嵌入在iFrame中的ThingWorx Mashup时出现错误
 Refused to frame 'https://<URL>' because an ancestor violates the following Content Security Policy directive: 'frame-ancestors 'self
  • 尝试在 Windchill 和ThingWorx Mashup中打开“数字产品追溯”功能时,不会显示任何内容。
  • Windchill PDMLink 中无法使用DPT相关Mashup
  • 错误显示在 Windchill PDMLink 选项卡的 Mashup 页面中
    • 错误 1:
       https://<URL> refused to connect
      
    • 错误 2
       <ipAddress> refused to connect
  • 由于 CSP 标头配置,Windchill 和 ThingWorx 之间的集成受阻。

  • 访问嵌入在 Studio Web Frame 小部件中的 ThingWorx Mashup 时出现错误
    Refused to frame 'http://xxxx because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' 
  • 尝试加载嵌入在 iFrame 中的 Mashup 时出现以下错误
    • Refused to frame 'http://<URL> because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self' 
这是文章 346514 的 PDF 版本,可能已过期。最新版本 CS346514