Guess you are working on the Rapid developer learning path, module pages / databinding.
Check this lecture to get it working: https://gettingstarted.mendixcloud.com/link/module/5/lecture/258