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

How to get thingworx host url in thingworx service

Highlighted
Regular Member

How to get thingworx host url in thingworx service

Hi Guys,

 

How to get thingworx host url in thingworx service ?

Currently am using ThingWorx Navigate, i want to build a full url, so i need host url.

ex:  I want below url in service

http://hd111m010.ptcnet.ptc.com:8080/Thingworx/Runtime/index.html?mashup

 

Please help me to get this ASAP. Thanks.

2 REPLIES 2

Re: How to get thingworx host url in thingworx service

Retrieving the Thingworx public url from within the platform itself is not something trivial (because of various network components up-front, such as reverse proxy, load balancer, ...)

 

You may want to "hardcode" this information on the platform itself (e.g. as a Thing property) :

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

Re: How to get thingworx host url in thingworx service

Hi @vingl.

 

If the response provided by @smainente answered your question, please mark it as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon