Refresh Data view automatically

0
Hi, I am creating a shopping website, so the first page where the items are displayed at top right corner i am displaying the number of cart items. I have used a Data View in which i am calling a microflow which is returning the number of items in the cart. But i am not able to refresh the data view automatically. When i am refreshing the page then only my cart is getting refreshed i.e. the number is changing in the cart. I want that Cart Number should automatically be updated whenever any item is added in the cart. Is there any way to refresh the Data View automatically when any item is added into the cart without refreshing the page. If anybody can suggest some way do it. I am using Mendix version 8.12.1.
asked
2 answers
1

Hello,

You can refresh the main entity from the dataview in the microflow in which you added the item in the cart by comitting it.

answered
0

Hi Prakhar

            Try to refresh the entity (refresh in client) in the dataview while adding the items in the cart microflow. I hope it helps.Thanks

answered