Skip to main content
1-Visitor
December 16, 2018
Question

Embed mashup in other web page

  • December 16, 2018
  • 4 replies
  • 2472 views

I have a mashup link: https://academic-educatorsextension.portal.ptc.io/Thingworx/Mashups/sw_make_panel_MrPark?appKey=f254750f-a512-4150-ac0b-5e3fd6b3c1fa&x-thingworx-session=true

I'm trying embed this page with this code:

<iframe src="https://academic-educatorsextension.portal.ptc.io/Thingworx/Mashups/sw_make_panel_MrPark?appKey=f254750f-a512-4150-ac0b-5e3fd6b3c1fa&x-thingworx-session=true" width="650" height="600" scrolling="auto"> </iframe>

but I get empty form:

Снимок.PNG

4 replies

5-Regular Member
December 17, 2018

What's your ThingWorx log saying and when you access this page, what's your F12 composer console saying?   

16-Pearl
December 17, 2018

It could be a security issue related to the origin.

I'm not sure if you have access to configuring the Academic instances - but maybe these articles explains more around the topic:

 

https://www.ptc.com/en/support/article?n=CS181456

http://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/#page/ThingWorx%2FHelp%2FSecurity%2FAllowingEmbeddedMashupsiniFrames.html%23

 

Cheers,

Michael

 

Support
December 31, 2018

Hi @MrPark.

 

If one of the previous posts helped to resolve your issue, please mark the appropriate one as the Accepted Solution for the benefit of others with the same issue.

 

Thank you for using our Community!

 

Regards.

 

--Sharon

12-Amethyst
May 28, 2019

Try to inspect the page headers that come from the ThingWorx server. 
It might be because you have the following headers sent: ClickjackFilterDeny and ClickjackFilterSameOrigin.

If this is the case, check the server side configuration here: http://support.ptc.com/help/thingworx_hc/thingworx_8_hc/en/#page/ThingWorx%2FHelp%2FSecurity%2FAllowingEmbeddedMashupsiniFrames.html%23

 

Regards,
Emil