Dataview content is not getting refreshed when its associated parent dataview entity is refreshed

0
When a dropdown which is at entity level "A" inside dataview "X" is changed we would like to refresh dataview "Y" on the same screen which is associated to entity "B". Dataview "Y" is inside another dataview "X", so we have written a microflow which will refresh entity "A" (which is associated to data view "X") and associated it with the onchnage event of dropdown. For some reason we do not see dataview "Y" getting refershed when changing dropdown value which is in dataview "X". We are able to refresh it by replacing dataview "Y" with listview by returning single entity everything. This is a known issue with Mendix? Please suggest fix for it or an alternate best approach to handle it. Documentation of this issue can be found in below location: https://drive.google.com/open?id=0B0GJHAYwQCiLVlhVZ2tBWXFlSFk
asked
2 answers
0

Hello Pranay,

Sounds like a very odd issue. If what you're doing is valid I would assume that your dataview doesn't subscribe to its parent's updates.

I would suggest you first debug your refresh microflow, and check the variable tab in the debugger to make sure you are refreshing the right entity, and if you are, I would retrieve the entity used in dataview "Y" itself, and refresh that.

You might also want to change the way you're retrieving entity B in dataview Y. Keep in mind that retrieving from a database does not catch memory changes.

answered
0

As a last resort you could use the community commons refreshClass or refreshClassByObject and see if that helps.

Regards,

Ronald

answered