This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Routing problem on scada-vis?
#1
Hello, using a hash we can change which visualization page we want to display, e.g. for the floor with ID=4:

/scada-vis/#4

However, my coworker noticed that when when he changes the number, sometimes, the page may still display the page with the old ID, instead of the page with the new one  Sad So we are basically blocked, we want to show our customer 5 different pages, but the 5 IDs all point to the same page...

FW version is 20240426.

Any idea how to solve this?
Reply
#2
Clear cache
------------------------------
Ctrl+F5
Reply
#3
It will only work if you navigate to /scada-vis#ID from a different page. Nothing will happen if you change ID while already on /scada-vis.
Reply
#4
Here you can see two different windows, one with #6, the other one with #5. Both display the page "Chaufferie - Synoptique Primaire" which is actually the #5.

   

These windows were opened separately.
Reply
#5
What happens if you refresh both pages? Do you have any Custom JavaScript?
Reply
#6
Indeed, when refreshing both pages, they both point to the correct page. But in the meantime, my coworker added one object to the page, which was previously empty (just a background, no objects).

It seems that this problem occurs only if a page has no objects on it.
Reply
#7
Empty page is not rendered, for LM it didn't exist.
------------------------------
Ctrl+F5
Reply
#8
(22.08.2025, 13:29)Daniel Wrote: Empty page is not rendered, for LM it didn't exist.


Okay, thanks for the confirmation that the empty pages are ignored. We will add at least a dummy object to every page in the future, so that doesn't happen anymore.
Reply


Forum Jump: