Error at Button in Course_Overview

0
Hi, Despite the fact that I set a One Click Action at the (Add) button on the page Course_Overview, and selected the page Course_NewEdit. I get the following  error: The selected page 'Course_NewEdit' expects an object of type 'Course', which is not available here. Property 'On click' of action button 'create Button1' Am I missing something?  
asked
3 answers
1

The page course_newEdit expects on object of type course. This means a selection object or dataview object needs to be given to this page. Check your setup, you might need to create a microflow for example to create this object.

If you use a Mendix add button check out: https://docs.mendix.com/refguide/add-button

answered
1

You should set the button action to "create an object" not "show a page"

The create object action will create an object and will show a page you need to connect

answered
0

Okay thanks, solved!

answered