You might want to check out these lessons: https://gettingstarted.mendixcloud.com/link/module/9/lecture/118
and https://gettingstarted.mendixcloud.com/link/module/22/lecture/122
Regards,
Ronald