Skip to main content
10-Marble
February 12, 2025
Solved

How to show mashup name in browser tab and in the url?

  • February 12, 2025
  • 2 replies
  • 803 views

Hello everyone,

 

We have different mashups for different features. When a feature is selected, the corresponding mashup name should be updated in the URL and browser tab. Is this possible in ThingWorx, or do we need to develop a custom extension?

 

Previously, we could achieve the browser tab title update using the Master Mashup Title, but in ThingWorx 9.x, the title is no longer bindable. Are there any alternative workarounds?

 

Thank you in Advance!

Best answer by TonyZhang

Hi @AK_10385731 

 

Try using below method in Expression Function in Mashup to update Mashup title

TW.Runtime.updateDocumentTitle('')

Refer to below Help Center for more information

https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Mashup_Builder/Migration/SupportedRuntimeFunctions.html -> Runtime Document Title

 

2 replies

TonyZhang16-PearlAnswer
16-Pearl
February 18, 2025

Hi @AK_10385731 

 

Try using below method in Expression Function in Mashup to update Mashup title

TW.Runtime.updateDocumentTitle('')

Refer to below Help Center for more information

https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Mashup_Builder/Migration/SupportedRuntimeFunctions.html -> Runtime Document Title

 

10-Marble
February 18, 2025

@TonyZhang Thank you for your response.

I'm using Thingworx 9.4 and it didn't work. However, when I try it in 9.6.2 , it worked.

16-Pearl
February 19, 2025

Hi @AK_10385731,

 

Sorry to mention that this function is introduced after 9.4.5. Please refer to https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Release_Notes/Whats_New_in_ThingWorx_Platform_9_4_5_0.html

 

16-Pearl
February 19, 2025

Hi @AK_10385731,

It appears that a response to this post answers your question.  For the benefit of other Community Members who may have the same question, it would be great if you could designate it as the Accepted Solution.

In the event that this response did not answer your question, please post your current status so that we can continue to support.

Thanks for using the PTC Community!

Regards,