Logic Machine Forum
Routing problem on scada-vis? - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Visualization (https://forum.logicmachine.net/forumdisplay.php?fid=9)
+--- Thread: Routing problem on scada-vis? (/showthread.php?tid=6086)



Routing problem on scada-vis? - rbourgeon - 22.08.2025

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?


RE: Routing problem on scada-vis? - Daniel - 22.08.2025

Clear cache


RE: Routing problem on scada-vis? - admin - 22.08.2025

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.


RE: Routing problem on scada-vis? - rbourgeon - 22.08.2025

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.


RE: Routing problem on scada-vis? - admin - 22.08.2025

What happens if you refresh both pages? Do you have any Custom JavaScript?


RE: Routing problem on scada-vis? - rbourgeon - 22.08.2025

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.


RE: Routing problem on scada-vis? - Daniel - 22.08.2025

Empty page is not rendered, for LM it didn't exist.


RE: Routing problem on scada-vis? - rbourgeon - 22.08.2025

(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.