Start a topic
With the exception of Windchill, The PTC Community is on read-only status until April 6 in preparation for moving our community to a new platform. Learn more here
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

Web Frame Widget Not Loading External URL in ThingWorx Mashup

PG_14395514
5-Regular Member

Web Frame Widget Not Loading External URL in ThingWorx Mashup

I am trying to load an external website inside a Web Frame widget in a ThingWorx Mashup.

I added the  URL in the URL property of the Web Frame widget:

 

However, when I open the mashup, the page does not load and the widget appears blank.

What I have already checked:

  • The URL works correctly when opened directly in the browser.

  • The Mashup loads successfully in ThingWorx

  • The URL is added correctly in the Web Frame widget properties.

Any guidance or suggestions would be greatly appreciated.

ACCEPTED SOLUTION

Accepted Solutions

One possible reason is that some external websites block being loaded inside an iframe, which is what the Web Frame widget uses internally. In such cases the widget will appear blank even though the URL works directly in the browser.

As an alternative, you can use the Navigation function in ThingWorx instead of the Web Frame widget.

Create a new Navigation and set:

  • Redirect To: URL

  • URL: your external website link

  • Target Window Type: depending on your use case:

    • Replace – opens in the same tab

    • New – opens in a new tab

    • Popup – opens in a popup window

    • Fullscreen – opens the page in fullscreen

This approach avoids iframe restrictions and usually works reliably for external URLs.

 

 

 

 

View solution in original post

2 REPLIES 2

One possible reason is that some external websites block being loaded inside an iframe, which is what the Web Frame widget uses internally. In such cases the widget will appear blank even though the URL works directly in the browser.

As an alternative, you can use the Navigation function in ThingWorx instead of the Web Frame widget.

Create a new Navigation and set:

  • Redirect To: URL

  • URL: your external website link

  • Target Window Type: depending on your use case:

    • Replace – opens in the same tab

    • New – opens in a new tab

    • Popup – opens in a popup window

    • Fullscreen – opens the page in fullscreen

This approach avoids iframe restrictions and usually works reliably for external URLs.

 

 

 

 

PG_14395514
5-Regular Member
(To:MA8731174)

Okay 
Thanks a lot

 

Announcements


Top Tags