Skip to main content
1-Visitor
Dec 16, 2018 9:47 AM UTC
Question

Embed mashup in other web page

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
Dec 17, 2018 2:52 AM UTC

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

Translate
16-Pearl
Dec 17, 2018 8:04 AM UTC

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

 

Translate
Support
Dec 31, 2018 3:38 PM UTC

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

Translate
12-Amethyst
May 28, 2019 11:44 AM UTC

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

Translate