Fixing An error occurred while executing microflow data source for widget : a is not a function

0
I've setup a microflow which goal is to build some random list.   I've added debugging steps into the microflow to ensure it was building correctly a list of non persistable Domain entity called "KeyValuePair" defined with properties as: "Key" of type string "Value" of Long.   On the last step (output) the debuggers variables are showing well that the collection is correctly made up, and the variable is correctly set as the output of the flow.   However, when I try to bind it with a list view, after a quick setup and running the project, I get that error:   Error: An error occurred while executing microflow data source for widget ProjectName.SNIP_Graph_LocalProduction.listView1: a is not a function   As a frontend JS/TS dev I've checked the call stack but nothing is really helping: the entities ids are correctly found on the frontend side in the dev tools of Chrome, but at some point it fails retrieving the data and ends up with the error "a is not a function".   What would you do in that case? The microflow looks pretty basic.   Domain model:   As you can see in the screenshot the data is really available in the list that is being sent as the output of the microflow:     On the Mendix editor:  
asked
2 answers
1

Hi Micael, 

Did you manage to figure out what caused this?

I experience the same error. 

answered
0

In your screenshot I see that it's intended for a chartline. Is this listview the only thing on the page? Apart from that, are the security settings of your NP set correctly? What if you remove the content of the listview, does it still generate the error?

answered