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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Open Outside URLs with a Button & Navigation Function

Open Outside URLs with a Button & Navigation Function

It would be nice if you could use a button bound to a navigation function to open URLs outside of ThingWorx. I was asked to add a button to one of our applications that would open a webpage in another one of our systems. The only option I had was to hide a link widget in the mashup and bind the clicked event from a button to the link. To my surprise, ThingWorx does not recognize the JavaScript window object, so you can't create a thing with a service to open a window or create an expression function that executes window.open(). That leaves you with two options for workarounds: using a link widget directly and styling it with CSS to look like a button or hiding a link widget and binding it to a button.

1 Comment
olivierlp
Community Manager
Status changed to: Archived

Hello,

We are archiving your idea as part of a general review. This action is based on the age of your idea and the total number of votes received, as per this announcement.

You can always post a new idea with all the details required in the form.

Thank you for your participation.