Best practice for updating view on data change? - Mendix Forum

Best practice for updating view on data change?

0

Hey guys,

I’ve been trying to get a view update where data comes from a REST call. Currently my setup is to have a template grid with microflow source, where the microflow is fetching the data from a REST call and the template grid refreshes itself every minute. This works for built in widgets, but when I try to include any widgets from the app store the widget fails to update and the client yields an error: “Error while applying context TypeError: Cannot use 'in' operator to search for 'unsubscribe' in undefined“.

Is there a better way to go about having a view update when new data arrives?

asked
1 answers
0

I think this is probably an error in the implementation of the widget, perhaps they are using an old API for subscriptions. I would try to narrow down the responsible app store widget and submit a issue at their github repo.

-Andrej

answered