New to Mendix - Error code CE0251 - Searching for an object is not allowed for this entity ... because it is not persistable

2
I am in the Crash Course training program, and just did the mapping of the JSON elements.   It looks like the training video, but keeps saying there is an error.   Thank you for any help. 
asked
5 answers
7

I stumbled across the same issue.

Just continue with the course step 5.3.1 will solve it anyway. 

 

answered
0

You are probably using the search option for creating a department, that is not allowed because department is non persistable. Just create the object and do any logic after mapping your JSON to the data model.

answered
0

Looking at your first print screen: select the “Create an object” option instead of the “Find object (by key)” !

answered
0

Hi 

John McTiernan

                             I think you have not mapped it.before doing find object ,there was a step instructed to “click on map automatically” which is at top.Try to do that.

 

answered
0

Make the entity is persistable so the issue is fixed.

answered