Hi,
I will suggest you going through this video , https://video.mendix.com/watch/2Sn3H7kKPdPWt8f1THDdXY
Your problem is explained here .
Thanks