Filter alarm status tables to the respective view open

I have a Perspective project that uses a parent-child project structure. The child project contains all the actual “live” views (production), and the parent project provides shared elements like nav, styling, footer, menu etc.

Inside the footer view, there’s an alarm status table meant to display only the alarms related to whichever view the user is currently looking at. If open “HVAC001”, the footer should only show alarms from “HVAC001”.

It is set up in the page config and made as an global footer shared across all views. I have tried various ways to make the logic work. I have tried filtering by adding a currentView parameter to the session. I guess I don’t know if my logic is wrong or my execution is wrong, anybody has any approaches I can try? I would like it to be filtering through primaryView parameter if it works.

Hi Would it not be better to store the actual view in a session properties and make your footer point to that properties. This avoid to pass the currentView as parameter to the footer and can be use by other view if needed in the future.