Skip to main content
12-Amethyst
April 22, 2022
Solved

How to get current mashup url at runtime

  • April 22, 2022
  • 1 reply
  • 1832 views

@MDUser, were you able to resolve this question? I have a similar need. I have a redirect page from a third party application in which they append parameters to the url, and I need access to those param values.

Best answer by bchaudhary_448008

Hello @travman7777 ,

I have checked the query raised by the user you have mentioned in the description. Their rquirement could not be fulfilled since fetching the mashup name is not feasible in ThingWorx without using some hardcoding (like using mashup parameter for every mashup). 

 

pls check the linked article if that helps you:

https://www.ptc.com/en/support/article/CS187026

 

Regards

Bhawna

1 reply

5-Regular Member
April 26, 2022

Hello @travman7777 ,

I have checked the query raised by the user you have mentioned in the description. Their rquirement could not be fulfilled since fetching the mashup name is not feasible in ThingWorx without using some hardcoding (like using mashup parameter for every mashup). 

 

pls check the linked article if that helps you:

https://www.ptc.com/en/support/article/CS187026

 

Regards

Bhawna

12-Amethyst
April 27, 2022

Thank you for following up. Yes I can confirm that was the way we ended up accessing the paramters. Ie hard coding them in the mashup.  In our case this should be sufficient for the time being.