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

Update URL without redirect Thingworx 8.4

Highlighted
Regular Member

Update URL without redirect Thingworx 8.4

I am trying to update the URL without re loading the whole page. I have a dropdown that controls the data on the screen and the selected value for this dropdown is passed through the URL. If there is no value passed the user is prompted to select a value.

 

Example:

User navigates to the page with specified value "Example1"

 

The user then selects Example2 from the dropdown.

If they click browser back button, it should take them to Example1

If they click browser refresh, it should show Example2

 

What actually happens is

Back: whatever page you were on before navigating to my page

Refresh: goes to Example1

 

Previously in 8.3 I was able to solve these problems using history.pushState

This is not working post upgrade to 8.4. 

 

Other things I have tried(failed):

location.hash

Cannot use the window object

 

Thanks for any help in advance,

Jordan

1 REPLY 1
Highlighted

Re: Update URL without redirect Thingworx 8.4

Hi jvisser,

 

Yes This JS command might not be working in 8.4 due to security Updates in 8.4.

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!