cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Can i embed a mashup visualization in an external web page?

lgonzalez
1-Visitor

Can i embed a mashup visualization in an external web page?

Hi, lets say I have my domain example.com, when my users login, I would like to show them a thingworx mashup.

Can i embed a mashup visualization in an external web page?  if it is not possible, what is a good approach to reach a similar effect?

Thanks a lot

ACCEPTED SOLUTION

Accepted Solutions
PaiChung
22-Sapphire I
(To:lgonzalez)

appkey is one way

Using appKey to avoid log in when launching mashup

SSO using an authenticator would be another way

Authenticators

View solution in original post

5 REPLIES 5
PaiChung
22-Sapphire I
(To:lgonzalez)

You can use an iFrame to accomplish this.

Hi Pai,

But what about the security and authentication? I would need to pass the credentials to the client, so that his/her browser can forward them in the iframe request?

or

does it work like google maps for example, which uses an API key and just accepts requests from specific origins?

Thanks a lot

PaiChung
22-Sapphire I
(To:lgonzalez)

appkey is one way

Using appKey to avoid log in when launching mashup

SSO using an authenticator would be another way

Authenticators

Hello,

I've tried to place an iframe with mashup url in my page but when I try to browse it I get this response:

Load denied by X-Frame-Options: https://[mashupurl]/ does not permit cross-origin framing

PaiChung
22-Sapphire I
(To:acociancich)

There are settings you need to change in tomcat I believe, do a search on support.ptc.com to find some articles on this.

Search for clickjack or click jack

Announcements


Top Tags