You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any additional documentation for updating widget data. I have been using the json data source and querying a middle-ware API, the middle-ware is connecting to a WebSocket to get information when available.
I cannot seem to use the API to update the widget data, any help would be appreciated!
The text was updated successfully, but these errors were encountered:
I'm not sure if I understand your question entirely. If you create a Data Source with refresh configured and and a Widget using that Data Source, it should automatically update the Widget each time the Data Source loads new data.
This is a polling approach requiring the JSON Data Source to periodically re-query your API. There isn't a generic web socket Data Source available currently.
Ah so that's not currently built-in. It would be feasible to create a new WebSocket Data Source or use the JavaScript Data Source to connect to an endpoint and listen for events, but I don't have any examples.
Is there any additional documentation for updating widget data. I have been using the json data source and querying a middle-ware API, the middle-ware is connecting to a WebSocket to get information when available.
I cannot seem to use the API to update the widget data, any help would be appreciated!
The text was updated successfully, but these errors were encountered: