The selected page Course_NewEdit expects an object of type Course, which is not available here.

0
First let me state that I am brand new to Mendix and just going through the "Become a Rapid Developer 2018" course.  I have two questions which may or may not be related.  The first is in reference to  The first is in reference to a statement in unit 4 (https://gettingstarted.mendixcloud.com/link/module/82/lecture/689) on solving errors.  Step 6 indicates "Do you see that check box that says “Pre-fill page contents based on the Course entity”? You can use this functionality to create the page really fast, because it will generate an input widget for each attribute in the Course entity!". I am not able to find this checkbox when I create a new page from the button on my overview page.  Where would I find this?   The 2nd questions is related to an additional error I get and I am not sure if it is related to the fact that I could not find the checkbox above.  After following the steps of this lesson I am now getting an error that states "The selected page 'Course_NewEdit' expects an object of type 'Course', which is not available here." On the course overview page I have selected the new page "Course_NewEdit" on click.  This is where the error directs me.        On the Course_NewEdit page I selected Course as the Entity.  I am not clear what I am doing wrong here or how to solve this issue.    
asked
5 answers
2

I think you created the new page in a wrong place. you should click the Button-->Events-->more-->Action-->Create Object, here in the page area you can then create a new page. and you can see the “Pre-fill page contents based on the Course entity”

I'm also new to mendix, maybe it's the version that was mentioned above which caused the problem. Have a try anyway. :D

answered
1

Ok Here you go>>

You need to go Button-->Events-->more-->Action-->Create Object

Action : create Object
Entity: Course
Page: Course_newEdit

That's it..you will get rid of error

answered
0

You may not be able to find the checkbox because of the Modeler version you are using. In that learning path it suggests you use an older version of the modeler in order to keep images/descriptions consistent with the tutorial content.

This could also be leading to your other issues, but I'm not 100% sure. I had issues similar this that I had to find workarounds for when doing the introductory learning path until I switched modeler versions for consistency. 

answered
0

Hmmm...where did it suggest to use the older version?  When I went through the intro it stated "Go to the App Store, download the latest version of the Desktop Modeler, and install it on your computer" (https://gettingstarted.mendixcloud.com/link/module/78/lecture/661). 

In building this app I am actually using the web modeler which appears to be version 2.0.146. 

answered
0

Here is a possible answer to this question:

https://forum.mendix.com/link/questions/91836

answered