I'm using a form in FormMode.New to create a new record and I'm getting an error saying an entry is required. I can't figure out for the life of me which field I'm missing. Everything in my CDS entity that is "required" is accounted for. Is there a way to see what specifically is throwing the error? Thank you.
Hi @Anonymous
Are you able to post a screenshot of where you are seeing this error? What entity are you trying to create a record for?
Have you tried creating a new record via a Model-Driven app form? Put all of your required fields onto the Model-Driven app form and then try create a new record. The Model-Driven app will tell you which field is missing via a message at the top of the form.
----- If this post has answered your question please consider it for "Accept as Solution" or if it has been helpful give it a "Thumbs Up".
I found it. The form entry had .Visible to false, .Default was set to a variable, I had inadvertently changed the assignment of the variable by one letter. So I thought it was correct and wasn't seeing the red error box.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 836 Most Valuable Professional
Michael E. Gernaey 327 Super User 2025 Season 2
MS.Ragavendar 231 Super User 2025 Season 2