I'm building a low code app using an AWS MediaConnect element as the primary data/control endpoint. I've created a cell button in the table that launches an automation script that will write to various parameters on the element depending on which option is selected. The automation works as expected, but the Status (Flows) parameter does not update in the app - I have watched it for as long as an hour with no update. I have verified that the parameter is updating as expected in cube in almost real time
Also tried changing start/stop via Cube, with no change in the parameter visible in the App.
Allow WebSocket Communication is enabled on the page and inherit WebSocket settings from page/panel is enabled on the table. I have tried setting Update data to both on and off with no change.
Can you provide some details around how GQI tables update when the underlying data changes, and if there is any fix for the behaviour I am seeing.
Thanks!
Due to the complexity of having a realtime updated GQI table, while remaining performant, it is currently not possible to achieve this yet. There are already plans to have this working, but it will be a challenge to have this implemented correctly.
However, the app framework allows some ways to have a more or less up-to-date view of your data.
- Refresh the data by hooking it up to a trigger component. This allows users to refresh the data on demand through a click an/or after a specific time interval.
- Refetch the table when the script is ready. One of the possible actions is "Execute a component actions", where you can refresh a specific GQI component. However when the action is launched from the table, it is not possible to launch this as post action of your script. But you could redesign the app a bit to make this work with feeds and a headerbar button or button component, where post actions are supported.
- Some data sources already have a 'very basic' way of updating. If you are using get parameter table by id in your query, you can enable the "Update data" setting which is available in the Settings tab of the table, and will update the table automatically once every 30s, but only when something changed and when websockets are enabled.