Skip to main content
17-Peridot
January 4, 2021
Question

Webframe not loading cross frame content

  • January 4, 2021
  • 1 reply
  • 2137 views

Hi,

 

I want to load some other application webpage into a Mashup and used Webframe widget for the same.But whenever I try to load mashup,getting below error.

“Refused to frame 'https://myWebsite/dashboards' because an ancestor violates the following Content Security Policy directive: "frame-ancestors 'self'".

 

As per the suggestion (Display Mashups from external Browser - PTC Community)

uncommented the filter in tomcat web.xml and now getting new error as shown below.

 

"Refused to display 'https://myWebsite/dashboards' in a frame because it set 'X-Frame-Options' to 'deny'.

 

Specs: Thingworx 8.5.4 Chrome Browser

1 reply

5-Regular Member
January 4, 2021

Hello @TanmeyTWX ,

 

Have you reviewed the following article that may help https://www.ptc.com/en/support/article/CS264120

 

Hope it helps,

TanmeyTWX17-PeridotAuthor
17-Peridot
January 4, 2021

@Ciprian-Traian 

Yes, I tried this but no luck.
Community Manager
January 14, 2021

Hi @TanmeyTWX.

 

Please take a look at this article.  If you're still unable to get it to work, please provide the logs so we take a closer look.

 

Regards.

 

--Sharon